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 . -Brett