Difference between revisions of "If name == " main ":"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
== Related terms == | == Related terms == | ||
* [[Module]] | * [[Module]] | ||
+ | * <code>[[def]]</code> | ||
== See also == | == See also == |
Revision as of 09:39, 15 March 2022
https://stackoverflow.com/questions/419163/what-does-if-name-main-do
if __name__ == "__main__":
if __name__ == "__main__": main()
Related terms
See also
- Python, PIP, GIL, Flask, Django, Marshmallow,
def
, logging, Pandas, Numpy, AWS Chalice,import
,from
,tuple
,list
, Python exceptions,virtualenv
,.append
,pytz
,TZ
,print
,python3 -c
,os
, PEP, Python Institute, Methods: Dunder methods, Flake8, Python collections, Function decorators in Python, Click python library, Python module, Flower,kwargs
, Black (Python), Python list structure, Mypy,variables
, Casting,try:
, pydoc, argparse, Anaconda,pyenv, setup.py, python3 --version, python3 --help
, Data Classes, raise
Advertising: