like a "for loop" for a string

Fredrik Lundh fredrik at pythonware.com
Mon Aug 18 05:31:58 EDT 2008


Wojtek Walczak wrote:

> Got no idea, but it might be a nice try. It should be a quite good memory
> saver for very large strings.

or you could use re.finditer, which can be used for a lot more than just 
splitting.

</F>




More information about the Python-list mailing list