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 [2015/03/09 23:22]
billdozor
python_wiki:if_name_main [2019/05/25 23:50] (current)
Line 3: Line 3:
 **General Information** **General Information**
  
-Many python source files will have interesting if statement around main(). This is why it exists.+Many python source files will have an interesting if statement around main(). This is why it exists.
  
 **Checklist** **Checklist**
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.1425957726.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)