Outline for April 22, 2009

Reading: §4.6, 6.1–6.2


  1. File I/O
    1. Print out a named file (see fileio1.py)
    2. Print out a named file and prepend line numbers (see fileio2.py)
    3. Store the output in filename.lst (see fileio3.py)
  2. Functions
    1. What functions are
    2. Defining them (hello.py)