Aller au contenu principal

hello.py (Source)

#!/usr/bin/python
import sys
def hello(name='world'):
    greeting = "hello " + name
    print(greeting)
if __name__ == "__main__":
    hello(*sys.argv[1:])