s = "-6a48f82d8e828ce82b82"i = int(s, 16)print i
Standard input is empty
-501916895863876199394178
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!