June 17, 2004
12:57 p.m.
"Patrick Stinson" <listuser@br.logorrhea.com> wrote in message news:200406161313.34568.listuser@br.logorrhea.com...
if you had a hex string like '0x7c' how would you convert it to an int?
int(0x7c) works, but not int('0x7c')
Usage questions like this belong on comp.lang.python or the corresponding mailing list, not on the development list. In addition, you should give a subject heading, something like 'Int from hex string'. '(no subject)' makes your posting look like possible spam, and it invites people who pick and choose threads to skip on to the next. Terry J. Reedy