I must be having a Senior Moment here, but the following
baffles me:
>>> label = 'this is "quoted"'
>>> label.replace('"','\"')
'this is "quoted"'
## This works
>>> label.replace('"','\'')
"this is 'quoted'"
What am I missing here?
thanks
tim
--
Tim Johnson <[EMAIL PROTECTED]>
http://www.alaska-internet-solutions.com
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
