[Python-Dev] (no subject)

Brett Cannon bac at OCF.Berkeley.EDU
Sat Jun 19 01:19:55 EDT 2004

Patrick Stinson wrote:
> if you had a hex string like 
> '0x7c'
> how would you convert it to an int?
> int(0x7c) works, but not int('0x7c')

This is the wrong place to ask this; try your question on comp.lang.python .


More information about the Python-Dev mailing list