I would like to just get the escaped string without the single quotes.
Is there a way to do so? Thanks.

>>> x='\n'
>>> print repr(x)
'\n'

-- 
Regards,
Peng
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to