How to convert a number to hex number?

dcrespo dcrespo at gmail.com
Tue Nov 8 10:35:01 EST 2005


And if you want only the hex number, try:
>>>hex(255)[2:]
'ff'




More information about the Python-list mailing list