Jose' Matos wrote:
> Note that for python versions starting from 2.0 then
> 
> int( hex_str, 16)
> 
>   is enough where hex_str is the string with the hexadecimal
> representation of the number, and *int* is a built-in function, so
> no need to import any module for it.

I'm trying to write 'lyxpreview2png.py', to be used by lyx to generate
previews using dvipng. What versions of python do we support? (Should
I go use 'atoi' or do it the 'int' way?)

-- 
Angus

Reply via email to