[Tutor] Splitting long string into same len parts

Victor Bouffier victor at grupocdm.com
Sat Feb 11 02:25:16 CET 2006


WOW!!
This is really great. Thanks Ken.

This first one is definitely going to my personal scripts directory ;-)

Victor


On Thu, 2006-02-09 at 05:56 -0500, Kent Johnson wrote:
> Victor Bouffier wrote:
> > Hi to all,
> > 
> > I'd like to split a long string into equally long strings (len(str) =
> > 3). 
> 
> This is a very popular topic in the Python Cookbook. See for example
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/425044
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/439095
> 
> and the links in the comments for the first recipe above.
> 
> Kent
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 



More information about the Tutor mailing list