1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/python import sys def hello(name='world'): greeting = "hello " + name print(greeting) if __name__ == "__main__": hello(*sys.argv[1:])