Mike Meyer wrote: > Strange that int doesn't recognize the leading 0. But you can use the > second argument to int: > >>>>int("0600", 16) > > 1536
You can use it another way too: >>> int('0600', 0) 384 >>> int('0x180', 0) 384 >>> 0600 384 -Peter -- http://mail.python.org/mailman/listinfo/python-list