Iterable Flattener with Depth.

thebjorn BjornSteinarFjeldPettersen at gmail.com
Fri Nov 2 10:56:50 CET 2007


On Nov 2, 6:32 am, praddy <praddyjin... at gmail.com> wrote:
> On Nov 1, 5:03 pm, bearophileH... at lycos.com wrote:
>
> > Pradeep Jindal:
>
> > > Any comments?
>
> > Something with similar functionality (plus another 20 utility
> > functions/classes or so) has probably to go into the std lib... :-)
>
> > Bye,
> > bearophile
>
> Same Here!
>
> - Pradeep

Yeah, everyone has to write a flatten sooner or later :-)  My version
is at:

  http://blog.tkbe.org/archive/python-flatten/

-- bjorn




More information about the Python-list mailing list