- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for carlet (0.14 sec)
-
docs/en/docs/tutorial/debugging.md
``` ### About `__name__ == "__main__"` The main purpose of the `__name__ == "__main__"` is to have some code that is executed when your file is called with: <div class="termy"> ```console $ python myapp.py ``` </div> but is not called when another file imports it, like in: ```Python from myapp import app ``` #### More details Let's say your file is named `myapp.py`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jun 22 17:04:16 GMT 2023 - 2.4K bytes - Viewed (0)