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.<br>
<div class="gmail_quote">
<br><br><div class="gmail_quote"><div class="im">2010/8/31 MRAB <span dir="ltr"><<a href="mailto:python@mrabarnett.plus.com" target="_blank">python@mrabarnett.plus.com</a>></span><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On 01/09/2010 03:00, Alban Nona wrote:<div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
@MRAB, thank you, but what if there are like 40 entries like 'Elem00x' ?<br>
is there a way to do it automaticaly ?<br>
<br>
</blockquote></div></div></div><div><div></div><div class="h5">
If you can do it for 'Elem001', I'm sure you could write some code to<br>
produce a list of 'Elem001', 'Elem002', etc, and check whether any are<br>
substrings, just as was done for 'Elem001'.<div><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
@Xavier: ShaDoW, WorldPositionPoint (which is the same thing as<br>
WordPointCloud passe) :)<br>
<br>
Anyway, thank you !<br>
<br>
</blockquote></div>
[snip]<br>
Do you want separate lists for 'Elem001', 'Elem002', etc, or all in the<br>
same list?<br><font color="#888888">
-- <br></font><div><div></div><div>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></div></div></blockquote></div><br>
</div><br>