commit | b7878d09e5d360da4eda65cdf6f51376c234af3d | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Thu Apr 24 17:17:56 2003 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Thu Apr 24 17:17:56 2003 +0000 |
tree | dd3a0d7952f019eb961ae9a12d15a4ec3fd62ec8 | |
parent | 946c53ed7ff53f38792ac35e5da21de3e0a48ef2 [diff] |
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.