|
-
Create Programs. Refer back to exercises in Part I, “Language Basics”. See
sections the section called “Numeric Types and Expressions”, the section called “Condition Exercises”, the section called “Iteration Exercises”, the section called “Function Exercises”. Modify these scripts to be
stand-alone programs. In particular, they should get their input
via getopt from the command line instead of
raw_input or other mechanism.
-
Larger Programs. Refer back to exercises in Part II, “Data Structures”. See
sections the section called “String Exercises”, the section called “Tuple Exercises”, the section called “List Exercises”, the section called “Dictionary Exercises”, the section called “Exception Exercises”. Modify these scripts to be
stand-alone programs. In many cases, these programs will need
input from files. The file names should be taken from the command
line using getopt .
-
Object-Oriented Programs. Refer back to exercises in the section called “Class Definition Exercises”, the section called “Advanced Class Definition Exercises”. Modify these scripts to be
stand-alone programs.
|
|