Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
python_wiki:argument_parser [2017/09/02 18:35] billdozor created |
python_wiki:argument_parser [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 22: | Line 22: | ||
<code python program-name.py> | <code python program-name.py> | ||
+ | # | ||
# | # | ||
# Import Modules | # Import Modules | ||
Line 41: | Line 42: | ||
if args[' | if args[' | ||
print(" | print(" | ||
- | | + | |
#- Using stored variables from arguments -# | #- Using stored variables from arguments -# | ||
Line 48: | Line 49: | ||
print(" | print(" | ||
- | if args[' | + | if args[' |
print(" | print(" | ||
- | else | + | else: |
print(" | print(" | ||
</ | </ |