TypeError: slice index must be int ?

Aahz Maruch aahz at netcom.com
Wed Jan 5 16:28:08 EST 2000


In article <20000105111525.C1172 at lexgen.com>, Hao Zhou  <hz at lexgen.com> wrote:
>
>Is it possible to use long int (say 2000000000L) to 
>slice a string with gigabytes size?

You may be able to use UserList or the arrays in NumPy to simulate that,
but I don't think you can do it directly.
--
                      --- Aahz (@netcom.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

The problem with an ever-changing .sig is that you have to keep changing it.



More information about the Python-list mailing list