python doesn't like my numbers
Peter Kleiweg
in.aqua.scribis at nl.invalid
Sun Aug 22 17:05:29 EDT 2004
paul k schreef:
> 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
What is the integer value of a phone number?
--
Peter Kleiweg L:NL,af,da,de,en,ia,nds,no,sv,(fr,it) S:NL,de,en,(da,ia)
info: http://www.let.rug.nl/~kleiweg/ls.html
More information about the Python-list
mailing list