newbie string.replace question
fett at tradersdata.com
fett at tradersdata.com
Wed Aug 8 17:07:39 EDT 2001
Could someone please tell me why the following segment of code wont
work:
unformat = quote[11]
string.replace(unformat, '<B>', '')
string.replace(unformat, '</DL>', '')
string.replace(unformat, '</B>', '')
string.replace(unformat, '<DL COMPACT>', '')
string.replace(unformat, '<DT>', '')
string.replace(unformat, '<DD>', '')
string.replace(unformat, '<OL>', '')
string.replace(unformat, '</OL>', '')
when i print the html stuff i was replacing is still there.
Thanks in advance,
Dan
--
Daniel Hammond Get your free e-mail account today @
Raleigh NC http://sabacctable.zzn.com
The United States of America
-------------------------------------------------------------------
More information about the Python-list
mailing list