You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
327 B
Python
24 lines
327 B
Python
#!/usr/bin/env python3
|
|
#coding: utf-8
|
|
|
|
"""
|
|
Code for testing packaging.
|
|
"""
|
|
import sys
|
|
|
|
def function1():
|
|
print("Hello Word")
|
|
|
|
def function2():
|
|
print(" ".join(sys.argv))
|
|
print("-> Hi!")
|
|
|
|
def main():
|
|
if "--args" in sys.argv:
|
|
function2()
|
|
else:
|
|
function1()
|
|
|
|
if __name__ == "__main__":
|
|
main()
|