Re: [Tutor] Correct way to call an outside program?

2008-03-12 Thread Alan Gauld
"Allen Fowler" <[EMAIL PROTECTED]> wrote > I need to call an external command line .exe utility from my Python > script. > > What is the best way to capture the output (if any) and (optionally) > direct it to my normal standard output? > > There seem to be many options... Historically there hav

[Tutor] Correct way to call an outside program?

2008-03-12 Thread Allen Fowler
Hello, I need to call an external command line .exe utility from my Python script. What is the best way to capture the output (if any) and (optionally) direct it to my normal standard output? There seem to be many options... Thank you, :) _

[Tutor] Simple reg-ex syntax?

2008-03-12 Thread Allen Fowler
Hello, I have code that looks something like: self.aString = "abc123xyz" self.theNumber = int(re.search('(\d+)',self.aString).group()) Is there a more Pythonic way of doing this? (Both the reg-ex and the Int coercion.) How about when I will need to extract more than one substring? Thank you,

Re: [Tutor] Hard time understanding classes

2008-03-12 Thread Dick Moores
At 01:58 PM 3/12/2008, Norm All wrote: >Hello, > >I am learning python and so far have done pretty well, until I got >to the subject of classes which I have been struggling to understand >for a while. I have not found any easy to understand tutorial on the >web or looking in some books for a cle

Re: [Tutor] Hard time understanding classes

2008-03-12 Thread Alan Gauld
"Norm All" <[EMAIL PROTECTED]> wrote > I am learning python and so far have done pretty well, until I got > to the > subject of classes which I have been struggling to understand for a > while. First, you are not alone. Some people find the idea of objects easy to grasp but the majority of prog

Re: [Tutor] Hard time understanding classes

2008-03-12 Thread Ole Henning Jensen
Norm All wrote: > I am learning python and so far have done pretty well, until I got to > the subject of classes which I have been struggling to understand for a > while. I have not found any easy to understand tutorial on the web or > looking in some books for a clear step by step example. Woul

[Tutor] Hard time understanding classes

2008-03-12 Thread Norm All
Hello, I am learning python and so far have done pretty well, until I got to the subject of classes which I have been struggling to understand for a while. I have not found any easy to understand tutorial on the web or looking in some books for a clear step by step example. Would appreciate any h

Re: [Tutor] self-learning Python

2008-03-12 Thread Kent Johnson
Kaushal Shriyan wrote: > I am a newbie with no programming experience. As Kent Johnson has > already pointed here about the book "Python Programming for the > absolute beginner" by Michael Dawson,I checked both in www.amazon.com > and www.ebay.com website. Both this website say "Unavailable" or "Ou

Re: [Tutor] self-learning Python

2008-03-12 Thread Kaushal Shriyan
On Wed, Mar 12, 2008 at 9:00 PM, Kent Johnson <[EMAIL PROTECTED]> wrote: > Kaushal Shriyan wrote: > > I am a newbie with no programming experience. As Kent Johnson has > > already pointed here about the book "Python Programming for the > > absolute beginner" by Michael Dawson,I checked both in w

Re: [Tutor] self-learning Python

2008-03-12 Thread Kaushal Shriyan
On Tue, Mar 11, 2008 at 1:11 AM, Ian Ozsvald <[EMAIL PROTECTED]> wrote: > Hi Enrique. I'll suggest my ShowMeDo for video tutorials - our 'beginner' > subsection for Python has 101 videos: > http://showmedo.com/videos/python?topic=beginner_programming > > Most of the videos are free (3 series -

[Tutor] Fwd: Begining Python

2008-03-12 Thread Daniel kavic
Begin forwarded message: From: Meftah Tayeb <[EMAIL PROTECTED]> Date: March 12, 2008 4:39:46 AM EDT To: Terry Carroll <[EMAIL PROTECTED]>, python tutor Subject: Re: [Tutor] Begining Python hi my friend, i have active python installed and the python-Win is Ready but i have a Very Small proble

Re: [Tutor] Begining Python

2008-03-12 Thread Meftah Tayeb
hi my friend, i have active python installed and the python-Win is Ready but i have a Very Small problem: i am blind, and i am using a Screen reader this screen reader use the Microsoft Active Accessibiliti (MSAA) to find informations about actual object in the screen cursor for Java Based applica

Re: [Tutor] Bag of Words and libbow

2008-03-12 Thread Andre Halama
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dinesh B Vadhia wrote: Hi Dinesh, | I had a quick look at NLTK which is an NLP library suite whereas libbow | is for statistical text analysis. Cheers what exactly are you trying to achieve that the statistical modules included in NLTK don't give y