File: class/Workbook/Exercises/Lab1/ex4.txt

% 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!



[Home page] Books Code Blog Python Author Train Find ©M.Lutz