Dumb Stupid Question About List and String

MRAB python at mrabarnett.plus.com
Wed Sep 1 04:18:07 CEST 2010


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?



More information about the Python-list mailing list