add some random code

This commit is contained in:
histausse 2021-09-28 17:18:10 +02:00
parent 517620d539
commit be4f8fc0ba
Signed by: histausse
GPG key ID: 67486F107F62E9E9

23
someCode.py Normal file
View file

@ -0,0 +1,23 @@
#!/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()