Print statement and multithreading
Ken Kinder
kkinder at tridog.com
Wed Aug 23 12:39:08 EDT 2000
So what's wrong with forcing it?
Roy Katz wrote:
> Hi..
>
> After listening to your suggestions I came up with the following model:
> In my bookmark-checking utility, there are a variable number of threads
> going about processing the links. The main thread, after launching the
> processing threads, goes into a loop which monitors their progress. My
> problem is that this main thread doesn't display output to the screen. I
> managed to force it to by adding a sys.stdout.flush() (note: the outputted
> lines do not end in a '\n' -- perhaps a '\n' character forces a flush??)
>
> Thanks,
> Roey
>
> PS: If you want to see the link-checker, I will be glad to mail it to
> you. Actually, come to think about it, perhaps I should get it onto the
> Vaults of Parnassus. The only thing the linkchecker still lacks is the
> code to write updated links back to a netscape bookmark file.
>
> --
> 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/20000823/17d6973d/attachment.vcf>
More information about the Python-list
mailing list