Are there any instances where I wouldn't want to use a 'if __name__ == "__main__":' check, and allow a method to run on import?
Upvotes: 19
Favorite this post:
Mark as read:
Your rating:
Add this post to a custom list
StoryNote Upvotes: 19