python doesn't like my numbers

Reid Nichol rnichol_rrc at yahoo.com
Sun Aug 22 18:02:09 EDT 2004


paul k wrote:
> hi,
> 
> is there any way to convince python not to take my (phone)numbers 
> starting with zero as octals?
> 
>  >>> int(088)
>   File "<stdin>", line 1
>     int(088)
>           ^
> SyntaxError: invalid token
> 
> thanks
>  Paul

int("088")



More information about the Python-list mailing list