James G. Sack (jim) wrote:
"\X41"
'A'
y="\\X"
z="41"
y+z
'\\X41'
eval("y+z")
'\\X41'

I want to end up with 'A' as in the first operation.
I must be doing something stupid? Watizit?

Well, what is your goal?  And what do you start with?

chr(int("41", 16)) will do what you *asked*.

>>> chr(int("41", 16))
'A'

The question is that what you want?

-a


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to