[[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
Next revision
Previous revision
python_wiki:if_name_main [2016/12/01 03:00]
billdozor [if __name__ main]
python_wiki:if_name_main [2019/05/26 03:50] (current)
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/26 03:50
  • (external edit)