Editing a file 'In Place'

Aahz Maruch aahz at panix.com
Fri Sep 7 02:35:20 CEST 2001

In article <3b97ed74.472037594 at news.demon.co.uk>,
Simon Foster <simon at uggs.demon.co.uk> wrote:
>I'm trying to write a simple piece of code to perform some batch edits
>on a text file.  So far I have:

import fileinput
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Hugs and backrubs -- I break Rule 6                 http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista   

"Plus ca change, plus c'est la meme chose."

More information about the Python-list mailing list