newb: What is the purpose of if __name__ == "__main__":

johnny rampeters at gmail.com
Wed Dec 6 21:59:45 EST 2006


What is the purpose of
if __name__ == "__main__":

If you have a module, does it get called automatically?




More information about the Python-list mailing list