Re: [Tutor] computer basics

2009-12-29 Thread Luke Paireepinart
Pqa pAzazqzz /// / // @?&// ?/& /@ /q On 12/28/09, Richard Hultgren wrote: > I am learning Python slowly.  I would like to begin learning all about how > computers work from the bottom up.  I have an understanding of binary code. > Where should I go from here; can you suggest continued

Re: [Tutor] extracting informations (images and text) from a PDF andcreating a database from it

2009-12-29 Thread Didar Hossain
On Tue, Dec 29, 2009 at 3:21 PM, Shashwat Anand wrote: > I used PDFMiner and I was pretty satisfied with the text portions. I > retrieved all the text and was able to manipulate it according to my wish. > However I failed on Image part. So Technically my question reduces to 'If > there  a PDF docu

Re: [Tutor] computer basics

2009-12-29 Thread R. Alan Monroe
> I am learning Python slowly.  I would like to begin learning all > about how computers work from the bottom up.  I have an > understanding of binary code.  Where should I go from here; can you > suggest continued reading, on line or off to continue my education? This might be worth a look: Digi-

Re: [Tutor] Modules and Test Suites

2009-12-29 Thread Lie Ryan
On 12/30/2009 2:11 AM, Stephen Nelson-Smith wrote: I do quite a lot of programming in Ruby. When I do so, my code tends to have the following layout: /path/to/src/my_project Inside my_project: lib/ test/ my_project.rb my_project.rb uses classes and helper methods in lib Inside test, I have

Re: [Tutor] try and except

2009-12-29 Thread Lie Ryan
On 12/30/2009 7:47 AM, Grigor Kolev wrote: Hi. Can someone explain me where is my mistake. --- class Error(Exception): def printer(self , value ): self.value = value print self.value def oops(): raise Erro

Re: [Tutor] try and except

2009-12-29 Thread Hugo Arts
On Tue, Dec 29, 2009 at 9:47 PM, Grigor Kolev wrote: > Hi. > Can someone explain me where is my mistake. > --- > class Error(Exception): >        def printer(self , value ): >                self.value = value >                print self.value > def oops

[Tutor] try and except

2009-12-29 Thread Grigor Kolev
Hi. Can someone explain me where is my mistake. --- class Error(Exception): def printer(self , value ): self.value = value print self.value def oops(): raise Error def domoed(): try:

Re: [Tutor] computer basics

2009-12-29 Thread GilJohnson
Richard Hultgren yahoo.com> writes: > I am learning Python slowly.  I would like to begin learning all about how > computers work from the bottom up.  I have an understanding of binary code. > Where should I go from here; can you suggest continued reading, on line or > off to continue my educatio

Re: [Tutor] Modules and Test Suites

2009-12-29 Thread Eike Welk
Hello Stephen! On Tuesday 29 December 2009, Stephen Nelson-Smith wrote: > I do quite a lot of programming in Ruby. When I do so, my code > tends to have the following layout: > > /path/to/src/my_project > > Inside my_project: > > lib/ > test/ > my_project.rb > > b) If so - how can I do it in Pyt

[Tutor] Modules and Test Suites

2009-12-29 Thread Stephen Nelson-Smith
I do quite a lot of programming in Ruby. When I do so, my code tends to have the following layout: /path/to/src/my_project Inside my_project: lib/ test/ my_project.rb my_project.rb uses classes and helper methods in lib Inside test, I have a test suite that also uses classes and helper method

[Tutor] My tutorial update

2009-12-29 Thread Alan Gauld
I've been doing some updates to my web tutor over the holidays and there is now a new "home page" that has links to both v2 and v3 tutorials. This will now be the common source of all news updates etc and the intro page of each tutor will now be a lot cleaner and easier to access the real content.

Re: [Tutor] extracting informations (images and text) from a PDF andcreating a database from it

2009-12-29 Thread Shashwat Anand
I used PDFMiner and I was pretty satisfied with the text portions. I retrieved all the text and was able to manipulate it according to my wish. However I failed on Image part. So Technically my question reduces to 'If there a PDF document and some verbose text below them and the pattern is followe

Re: [Tutor] extracting informations (images and text) from a PDF andcreating a database from it

2009-12-29 Thread Alan Gauld
"Shashwat Anand" wrote I need to make a database from some PDFs. I need to extract logos as well as the information (i.e. name,address) beneath the logo and fill it up in database. The logo can be text as well as picture as shown in two of the screenshots of one of the sample PDF file: http://

Re: [Tutor] computer basics

2009-12-29 Thread Alan Gauld
"Richard Hultgren" wrote I am learning Python slowly. I would like to begin learning all about how computers work from the bottom up. I have an understanding of binary code. Where should I go from here; Wikipedia is your friend most of the time. The next stage is probably to look at logi