Commit Graph

5 Commits

Author SHA1 Message Date
Andrew M. Kuchling 9b12d9d0d2 Modernize the code a bit:
use re module
   make chomp() use rstrip()
2003-04-24 17:22:04 +00:00
Andrew M. Kuchling b7878d09e5 Modernize the code a bit:
use re module
   use .split() string method

Doesn't use 'for line in sys.stdin'; that ends up changing its interactive
behaviour.
2003-04-24 17:17:56 +00:00
Andrew M. Kuchling 946c53ed7f Run these demo scripts through reindent.py to give them 4-space indents. I've verified that their output is unchanged. 2003-04-24 17:13:18 +00:00
Guido van Rossum f06ee5fa07 /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
Guido van Rossum 21bc15b73d commit -- why not... 1995-04-10 11:40:26 +00:00