Re: Handwriting Recognition

2007-08-22 Thread Rex Turnbull
[EMAIL PROTECTED] schrieb/wrote: >>> import handwriting >>> ... >>> http://docs.python.org/lib/module-handwriting.html >>> ha ha, I kid, I kid. >>> I don't think this is an easy problem to solve. You'd probably want >>> Python to be a wrapper around whatever hand-writing recognition >>> software y

Re: list.append not working?

2007-07-06 Thread Rex Turnbull
Wildemar Wildenburger wrote: > Abhishek Jain wrote: >> with every iteration your previous values are overwritten ('md' is a >> dictionary) so thats why your are observing this ouput.. >> >> check if the following patch solves your problem >> >> for entity in temp: >> md['module']= ent

Re: 0 == False but [] != False?

2007-05-24 Thread Rex Turnbull
Steven D'Aprano : > On Thu, 24 May 2007 06:59:32 +, Tim Roberts wrote: > >> As a general rule, I've found code like "if x == False" to be a bad idea in >> ANY language. > > > Surely that should be written as "if (x == False) == True"? > > Why compare to False? " if not x : ... " It reall

Re: Calling Exe from Python

2007-05-04 Thread Rex Turnbull
muhamad.abbas : > Hello Folks, > > This is what i am required to do. > Call an executable from my python script, and when the executable is > finished running, i should continue with my python script. > > I have tried "os.exec()" but it calls the executable and never returns > to the calling pyth