print statement and multithreading

Ken Kinder kkinder at tridog.com
Tue Aug 22 12:40:29 EDT 2000


It should work the same. The only thing you might worry a little about
is the order things come out -- sometimes i/o streams seem out of order.

You might use sys.stdout.write() if you aren't sure how the print
statement works.

Roy Katz wrote:
> 
> Hi.
> 
> Does the print statement cause output to be displayed
> when it is run from threads, as opposed to the main
> thread?
> 
> Thanks,
> 
> Roey Katz.
> 
> --
> http://www.python.org/mailman/listinfo/python-list

-- 
Ken Kinder
Staff Engineer - Tridog Interactive, Inc.
kkinder at tridog.com
http://www.tridog.com/ - 303-415-2538
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kkinder.vcf
Type: text/x-vcard
Size: 257 bytes
Desc: Card for Ken Kinder
URL: <http://mail.python.org/pipermail/python-list/attachments/20000822/da113d78/attachment.vcf>


More information about the Python-list mailing list