1.4. A Word About the Text Book Examples
- The examples assume that you are using some form of Unix.
- They still work in Windows!
- #!/usr/bin/env python – Tells Unix which interpreter to use. It is
ignored as a comment in windows.
- In some cases, it may work to invoke a Python program by double clicking the
icon in Windows. However, to simplify your development efforts, you should
usually run your Python programs from either inside the IDLE or Wing-101
IDE environment or invoke the interpreter explicitly from the command prompt.
Remember, command line arguments also work in Windows! – from the command