[Sidefx-houdini-list] expanding lists with python like 1 3 6-9 10 15-20

Robert Kelly isstuff at gmail.com
Fri Jan 20 14:21:09 EST 2012


Hey guys...

I remember someone elegantly expanding lists with python like

1 3 6-9 10 15-20
into
1 3 6 7 8 9 10 15 16 17 18 19 20

I can roll my own but if it exists i would prefer to use it

Thanks

Robert



More information about the Sidefx-houdini-list mailing list