In <[EMAIL PROTECTED]>, f pemberton
wrote:
> I've tried using replace but its not working for me.
> xdata.replace('abcdef', 'highway')
> xdata.replace('defgef', 'news')
> xdata.replace('effwer', 'monitor')
`replace()` does not work in place. You have to bind the result to a name
like::
xdata = xdata.replace('abcdef', 'highway')
Ciao,
Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list
