THANKS!!

I am not a native speaker and sometimes I find it very hard to find a
keyword to look for...

that tip was excellent, thank you a lot

On 3 May 2011 22:27, Buchholz, Greg <gbuchh...@infiniacorp.com> wrote:
>> From: Pau [mailto:vim.u...@googlemail.com]
>>
>> PS: I thought I would probably give a better example
>>
>> The goal is to have all the data files plotted in a single graph
>
> import glob
>
> for filename in glob.glob('*.dat'):
>    if 'e' in set(filename): #or whatever
>        #do something for files that have an 'e' in their name
>    else:
>        #do something else
>    loadtxt(filename) #yada, yada, yada
>    scatter() #etc.
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to