1.11. Exercises

1-1. Installing Python. Download the Python software or load it from the CD-ROM, and install it on your system.

1-2. Executing Python. How many different ways are there to run Python?

1-3. Python Standard Library.

(a) Find where the Python executables and standard library modules are installed on your system.

(b) Take a look at some of the standard library files, for example, string.py. It will help you get acclimated to looking at Python scripts.

1-4. Interactive Execution. Start the Python interactive interpreter. You can invoke it by typing in its full pathname or just its name (python or python.exe) if you haveinstalled its location in your search path. (You can alsouse the Python interpreter compiled in Java [jpython or jpython.exe ...

Get Core Python Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.