Closed macobo closed 10 years ago
It's quite common (even idiomatic) to write code similar to the following.
# declare classes, functions if __name__ == "__main__": # call those functions
However, this doesn't work at the moment, since __name__ will be set to something else.
__name__
It's quite common (even idiomatic) to write code similar to the following.
However, this doesn't work at the moment, since
__name__
will be set to something else.