Converting hex string to an integer

Derek Fountain nospam at example.com
Thu Aug 26 10:27:08 CEST 2004


Given the character string "0x00A1B2C3" arriving at sys.argv[1] how do I 
convert that to an integer which I can do some math on?



More information about the Python-list mailing list