> 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