[Python-3000] Octal

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 15 00:17:55 CET 2007


Oleg Broytmann wrote:

>       0b101010
>       0c660
>       0xffe
> 
>    I.e. the first letter from "bin", the second from "oct", the third from
> "hex". Also "0c" resembles "oc" from "oct".

0c bothers me a bit, because it looks like it might
have something to do with characters.

What about 0k (pronounced "oktal") ?

--
Greg


More information about the Python-3000 mailing list