hi, all
i can't believe i don't see this, but
python from the command line:
>>> x = '0D'
>>> y = '0x' + x
>>> print "%d" % int(y,0)
13

content of testme.py:
x = '0D'
y = '0x' + x
print "%d" % int(y,0)
TypeError: 'int' object is not callable

what am i not seeing here??
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to