synchronize a block

Thomas Rademacher rademacher at prostep.FTA-berlin.de
Mon Sep 27 08:09:48 EDT 2004


Hallo,

I want to synchronize the main function of my script. I havn't a class
structure in my script.

def main():
    # my code to synchronized

if __name__=='__main__':
    main()

How can I resolve this problem simply?

Thank's for your hints, Thomas






More information about the Python-list mailing list