I try this command:
>>> import string
>>> string.atoi('78',16)
120
this is 120 not 4E.

Someone can tell me how to convert a decimal number to hex number? Can
print A, B, C,DEF.
Thank you.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to