Fw: [Tutor] Unsigned numerical literals?

Gregor Lingl glingl@aon.at
Thu, 20 Dec 2001 01:41:56 +0100


In my last posting, this should read:

> To avoid this, use raw_input:
>
> >>> a = long(raw_input("any integer: "))
> any integer: 123412312341234
> >>> a
> 123412312341234L
> >>>
>
> thus reading in a string and converting it immediately to a long.
                                                              ^^^^
                               (It' already too late here in good old
Europe)

Gregor