Login
From:
Python documentation
(Uncensored)
subscribe
__main__ — Top-level code environment — Python 3.13.2 documentation
https://docs.python.org/3/library/__main__.html
links
backlinks
In Python, the special name__main__ is used for two important constructs: the name of the top-level environment of the program, which can be checked using the__name__ == '__main__' expression; and,...
Roast topics
Find topics
Find it!