Why isn't my re.sub replacing the contents of my MS Word file?
scottcabit at gmail.com
scottcabit at gmail.com
Fri May 9 16:46:35 EDT 2014
>
> re.sub _returns_ its result (strings are immutable).
Ahh....so I tried this for each re.sub
fStr = re.sub(b'‒','-',fStr)
No errors running it, but it still does nothing.....
More information about the Python-list
mailing list