synchronize a block

Thomas Rademacher rademacher at
Mon Sep 27 14:09:48 CEST 2004


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__':

How can I resolve this problem simply?

Thank's for your hints, Thomas

More information about the Python-list mailing list