Hi,

I often see the following 'if' construct in python code. What does
this idiom accomplish? What happens if this is not main? How did I get
here if it is not main?

Thanks,

gtb

==============================================

if __name__ == 'main':
   myQuest('myQuest').Run()

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to