Differences
This shows you the differences between two versions of the page.
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 [2016/11/30 22:07] billdozor |
||
---|---|---|---|
Line 3: | Line 3: | ||
**General Information** | **General Information** | ||
- | Many python source files will have a 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: | ||
</ | </ | ||
- | ==== Explanation ==== | + | ===== Explanation |
It may include other statements as well. | It may include other statements as well. |