G
gtb
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()
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()