[Tutor] help on raw_input()
ammar azif
ceasar102 at yahoo.com
Sat Apr 14 09:04:45 CEST 2007
Hi,
i wanted to get a string from raw_input like this
raw_input('>')
> \n\nsomestring
but the problem is raw input will return the string
'\\n\\nsomestring'
My question is
Are there any function to convert back those string to '\n\nsomestring' ?
Thanks
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070414/05cf4e2f/attachment.htm
More information about the Tutor
mailing list