python_wiki:if_name_main

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
python_wiki:if_name_main [2016/11/30 22:00]
billdozor [if __name__ main]
python_wiki:if_name_main [2016/11/30 22:07]
billdozor
Line 10: Line 10:
 ---- ----
  
-===== The Code =====+====== The Code ======
  
 <code python> <code python>
Line 17: Line 17:
 </code> </code>
  
-==== Explanation ====+===== Explanation =====
  
 It may include other statements as well. It may include other statements as well.
  • python_wiki/if_name_main.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)