re.sub() doesn't do the substitution in place: it returns the resulting
string. Try this:

myString = 'D c a V e r " = d w o r d : 0 0 0 0 0 6 4 0'
import re 
newString = re.sub("\s", "", myString) 
print newString

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to