If you just want to convert a string to an integer, it would be: >>> int(n)
in your case it would be: >>> m=66 >>> n=int(hex(m)) -- http://mail.python.org/mailman/listinfo/python-list
If you just want to convert a string to an integer, it would be: >>> int(n)
in your case it would be: >>> m=66 >>> n=int(hex(m)) -- http://mail.python.org/mailman/listinfo/python-list