You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
220 B
16 lines
220 B
5 years ago
|
#!/usr/bin/env python
|
||
|
|
||
|
import sys
|
||
|
|
||
|
def dog():
|
||
|
print("Woof")
|
||
|
|
||
|
def main():
|
||
|
if len(sys.argv) > 1 and sys.argv[1] == "dog":
|
||
|
dog()
|
||
|
else:
|
||
|
print("HELLO WORLD")
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
main()
|