How to convert a string to hex?

Sam Wun swun at esec.com.au
Fri Jun 23 00:48:13 EDT 2000


Suppose here is:

b = "6b584"

I would like to b to hex. Does anyone know how to do that in python?


Thanks
Sam.





More information about the Python-list mailing list