Annoying octal notation

David 71david at libero.it
Fri Aug 21 18:40:55 CEST 2009


Il Thu, 20 Aug 2009 15:18:35 -0700 (PDT), Mensanator ha scritto:

> (Just kidding! That works in 2.5 also. How are you using it where
> it's coming out wrong? I can see you pulling '012' out of a text
> file and want to calculate with it, but how would you use a
> string without using int()? Passing it to functions that allow
> string representations of numbers?)

Obviously it's not a progamming issue, just a hassle using the interpreter
on command line.

David



More information about the Python-list mailing list