python doesn't like my numbers

Reid Nichol rnichol_rrc at yahoo.com
Mon Aug 23 00:02:09 CEST 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