initial creation
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env python
|
||||
import sys
|
||||
|
||||
|
||||
# other imports (standard library, standard non-library, local)
|
||||
|
||||
# constants (AKA global variables)
|
||||
|
||||
# main function
|
||||
def main(args): # <1>
|
||||
function1()
|
||||
function2()
|
||||
|
||||
|
||||
# other functions
|
||||
def function1():
|
||||
print("hello from function1()")
|
||||
|
||||
|
||||
def function2():
|
||||
print("hello from function2()")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main(sys.argv[1:]) # <2>
|
||||
Reference in New Issue
Block a user