[Numpy-discussion] how to loop read input over various file with same extension in a folder (newbie question)
Sachin Kumar Sharma
SSharma84@slb....
Thu Mar 24 02:27:28 CDT 2011
BB,
Currently I am reading a text file and storing the output as an array a1, some arithmetic operation on it and plotting it. I want to do the same over 1000 files.
How to loop it and how to store the input in different arrays like a2, a3 and so on.
Also advise what is the best way to TAG or assign a comment to an array to store which file it has read the data.
Cheers
Sachin
************************************************************************
Sachin Kumar Sharma
Senior Geomodeler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20110324/2269d339/attachment-0001.html
More information about the NumPy-Discussion
mailing list