examples/basics/argv_main.py
from __future__ import print_function, division
import sys

def hello(name):
    name = name + '!!!!'
    print(name)

def main():
    hello(sys.argv[1])

main()

Run as python argv.py Foo

Later we'll see the argparse module that can handle command line arguments in a better way.