Re: Broken pipe

2010-05-15 Thread Lie Ryan
On 05/15/10 11:56, Lawrence D'Oliveiro wrote: > In message <4bec2a9...@dnews.tpgi.com.au>, Lie Ryan wrote: > >> On 05/13/10 22:41, Lawrence D'Oliveiro wrote: >>> In message , Chris >>> Rebert wrote: >>> Also, please don't use semicolons in your code. It's bad style. >>> >>> Wonder why they’re

Re: Broken pipe

2010-05-14 Thread Lawrence D'Oliveiro
In message <4bec2a9...@dnews.tpgi.com.au>, Lie Ryan wrote: > On 05/13/10 22:41, Lawrence D'Oliveiro wrote: >> In message , Chris >> Rebert wrote: >> >>> Also, please don't use semicolons in your code. It's bad style. >> >> Wonder why they’re allowed, then. > > they're there for line continuatio

Re: Broken pipe

2010-05-13 Thread Lie Ryan
On 05/13/10 22:41, Lawrence D'Oliveiro wrote: > In message , Chris > Rebert wrote: > >> Also, please don't use semicolons in your code. It's bad style. > > Wonder why they’re allowed, then. they're there for line continuation, e.g.: a = 40; foo(a) but in many cases, putting two statements in

Re: Broken pipe

2010-05-13 Thread Lawrence D'Oliveiro
In message , Chris Rebert wrote: > Also, please don't use semicolons in your code. It's bad style. Wonder why they’re allowed, then. -- http://mail.python.org/mailman/listinfo/python-list

Re: Broken pipe

2010-05-07 Thread cerr
On May 7, 9:45 am, Ron Eggler wrote: > -- > Ron Eggler > Suite# 1804 > 1122 Gilford St > Vancouver, BC V6G 2P5 > Canada > (778) 230-9442 > > > > > > > On Thu, May 6, 2010 at 11:11 PM, Ron Eggler wrote: > > > On May 6, 2010 10:37:14 pm Chris Rebert wrote: > > >> On Thu, May 6, 2010 at 10:27 PM, ce

Re: Broken pipe

2010-05-07 Thread Ron Eggler
-- Ron Eggler Suite# 1804 1122 Gilford St Vancouver, BC V6G 2P5 Canada (778) 230-9442 > On Thu, May 6, 2010 at 11:11 PM, Ron Eggler wrote: > > On May 6, 2010 10:37:14 pm Chris Rebert wrote: > >> On Thu, May 6, 2010 at 10:27 PM, cerr wrote: > >> > Hi There, > >> > > >> > I'm very new to Python a

Re: Broken pipe

2010-05-06 Thread Chris Rebert
On Thu, May 6, 2010 at 11:11 PM, Ron Eggler wrote: > On May 6, 2010 10:37:14 pm Chris Rebert wrote: >> On Thu, May 6, 2010 at 10:27 PM, cerr wrote: >> > Hi There, >> > >> > I'm very new to Python and i wanna write a script that sends a certain >> > string to a server. The code I came up with look

Re: Broken pipe

2010-05-06 Thread Ron Eggler
On May 6, 2010 10:37:14 pm Chris Rebert wrote: > On Thu, May 6, 2010 at 10:27 PM, cerr wrote: > > Hi There, > > > > I'm very new to Python and i wanna write a script that sends a certain > > string to a server. The code I came up with looks like this: > > #!/usr/bin/python > > > > import sys > >

Re: Broken pipe

2010-05-06 Thread Chris Rebert
On Thu, May 6, 2010 at 10:27 PM, cerr wrote: > Hi There, > > I'm very new to Python and i wanna write a script that sends a certain > string to a server. The code I came up with looks like this: > #!/usr/bin/python > > import sys > import string > > from socket import * > usage="USAGE: "+sys.argv[

Re: Broken pipe with os.popen3()

2007-04-10 Thread Thomas Guettler
Christoph Krammer wrote: > Hello everybody, > > I try to use an external OCR tool to convert some binary image data to > text. The image is in one variable, the text should be converted to > another. I use the following code: > > (si, so, se) = os.popen3('ocrad') > si.write(frame) > si.close