Minor Changes

Execution of .pyc and .pyo files

  • Not sure when this was added
     $ python foo.pyc
     $ python foo.pyo
     

Various output changes

  • repr(s) now uses standard escape codes for certain characters
     >>> repr("hello\n")
     'hello\n' 
  • Several minor changes to string format operator %
<<< O'Reilly OSCON 2001, New Features in Python 2, Slide 47
July 26, 2001, beazley@cs.uchicago.edu
>>>