Why int() cannot handle string of hexadecimal representation of integer? I mean e.g. int('0xA') -> 10. I have to use eval('0xA') regards, Michal Bozon bozon at natur.cuni.cz http://www.natur.cuni.cz/~bozon