On 2006-05-30, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Tue, 30 May 2006 03:01:54 -0000, Grant Edwards <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>> watching = False
>
> You do realize that this is a LOCAL definition, and is NOT the same
> "watching" your later loop is waiting on...
>
>> while watching:
>> time.sleep(0.1)
Oops, forgot the global declaration.
However, the presence/absence of the global affect whether the
OSError happens or not.
--
Grant Edwards grante Yow! Do I hear th'
at SPINNING of various
visi.com WHIRRING, ROUND, and WARM
WHIRLOMATICS?!
--
http://mail.python.org/mailman/listinfo/python-list