"Patrick Stinson" <listuser at br.logorrhea.com> wrote in message news:200406161313.34568.listuser at 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4