[Python-au] String Casting
Bryce Macdonald
bjmacd at bigpond.net.au
Fri Mar 25 00:41:08 CET 2005
Hi
I have a string that is posted to my python program (which I cant control)
that contains the literal r'\x7E\x0D\x0A' and I want it to convert it to
equal '~\r\n'
Is there a way to convert this string ?
Cheers
Bryce Macdonald
4Solutions Information Technology Pty Ltd
Level 21
201 Miller Street
North Sydney NSW 2060
AUSTRALIA
Mob : [+61|0] 414 981 787
Tel : [+61|0] 2 9025 3703
Fax : [+61|0] 2 9980 5089
bryce at 4Solutions.com.au
www.4Solutions.com.au
For all your support needs call us on 1300 305 902 or e-mail to
<mailto:support at 4solutions.com.au> support at 4solutions.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://starship.python.net/pipermail/python-au/attachments/20050325/f12b9c11/attachment.html
More information about the python-au
mailing list