can anyone tell me why this breaks?
Python 1.4 (Nov 4 1997) [GCC 2.7.2.3]
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import sys, string
>>> line = 'cat "in" the hat'
>>> line = string.replace( line, '"', '')
Traceback (innermost last):
File "<stdin>", line 1, in ?
AttributeError: replace
>>>
_
Python 1.4 (Nov 4 1997) [GCC 2.7.2.3]
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import sys, string
>>> line = 'cat "in" the hat'
>>> line = string.replace( line, '"', '')
Traceback (innermost last):
File "<stdin>", line 1, in ?
AttributeError: replace
>>>
_