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

Georg Duemlein rdg at preset.de
Sat Jan 21 20:19:36 EST 2012


http://www.sidefx.com/docs/houdini11.1/hom/hou/Geometry#globPoints

On 12-01-21 8:21 AM, Robert Kelly wrote:
> 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
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

-- 
Georg Duemlein
+64 22 088 9260
http://rdg.preset.de



More information about the Sidefx-houdini-list mailing list