In fact, the First list (wich contain "Elm001, Elm002, Elm003) will be generated automatically from files that I have in a directory, that's why I cant write the same code for Elm002, 003, etc... Because Ill not know how many Elm there will be.
2010/8/31 MRAB <pyt...@mrabarnett.plus.com> > On 01/09/2010 03:00, Alban Nona wrote: > > @MRAB, thank you, but what if there are like 40 entries like 'Elem00x' ? >> is there a way to do it automaticaly ? >> >> If you can do it for 'Elem001', I'm sure you could write some code to > produce a list of 'Elem001', 'Elem002', etc, and check whether any are > substrings, just as was done for 'Elem001'. > > > @Xavier: ShaDoW, WorldPositionPoint (which is the same thing as >> WordPointCloud passe) :) >> >> Anyway, thank you ! >> >> [snip] > Do you want separate lists for 'Elem001', 'Elem002', etc, or all in the > same list? > -- > http://mail.python.org/mailman/listinfo/python-list >
-- http://mail.python.org/mailman/listinfo/python-list