% cat module1.py #!/usr/local/bin/python # (or #!/usr/bin/env python) print 'Hello module world!' % chmod +x module1.py % module1.py Hello module world!