We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When launching a script, the script is no longer considered the __main__ module, and the common idiom for launching doesn't work.
__main__
This really should work:
def do_something(): print("Hello world!") if __name__ == "__main__": do_something()
The text was updated successfully, but these errors were encountered:
Hi! I fixed this bug starting from version 0.0.25.
0.0.25
Sorry, something went wrong.
pomponchik
No branches or pull requests
When launching a script, the script is no longer considered the
__main__
module, and the common idiom for launching doesn't work.This really should work:
The text was updated successfully, but these errors were encountered: