"robert" <[EMAIL PROTECTED]> wrote:
> Fredrik Lundh wrote: > > Hendrik van Rooyen wrote: > > > >> I am struggling with this - I want to define a "system-wide" flag for > >> use as a > >> semaphore. > > > > http://www.effbot.org/pyfaq/how-do-i-share-global-variables-across-modules.htm > > > > Or worse style - if you are too lazy to create a extra global variables module (ab)use the __main__ module als "global": > > > import __main__ > > __main__.mysemphore += 1 > > > -robert Thanks - how could you possibly have guessed that I am lazy - does it show that much? *WEG* - Hendrik -- http://mail.python.org/mailman/listinfo/python-list