Andy Worthington andy at
Mon Mar 20 22:23:03 CET 2000

I am getting the following error:

Traceback (innermost last):
  File "/u/web/rockc1/cgi-local/", line 46, in ?
AttributeError: replace

The replace seems to work like this on another machine from the command line
but this doesn't work on the webserver I am trying to run it from.  Is this
because of an older version of python?  If so, is there another way that I
can replace all occurences of a character with another in a string (replace
\n with a space).

Andy Worthington

More information about the Python-list mailing list