two questions

Bryan Hann bryan.hann at pobox.com
Sun Apr 11 13:34:04 EDT 1999


Chris... wrote:

> 2) Is there an way to mimic Perls
> perl -p -e s/pattern1/pattern2/
> command line?

Perhaps you can derive something from the fileinput module.  It might be
handy :)
(I.e., share if you do :)
--
==================================================================
 Bryan Hann -- bryan.hann at pobox.com -- www.pobox.com/~bryan.hann
 The RITE Group: Researching Information Technology in Education.
==================================================================






More information about the Python-list mailing list