On 4/19/05, Anthony Liu <[EMAIL PROTECTED]> wrote: > > You are certainly right, because I don't know how to > protect the main functions. Where do I put > > if __name__ == '__main__': main()
I just glanced in the modules section of the python documentation and surprisingly this is not mentioned at all that I could see. I think that's an oversight. See this example: http://diveintopython.org/getting_to_know_python/index.html Mike -- Michael P. Soulier <[EMAIL PROTECTED]> http://www.digitaltorque.ca http://opag.ca python -c 'import this' Jabber: [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list