Dear,<br>I have number of files with each file contains many points (x,y,z coordinates) of a line/curve. I use python programmable source to visualize those lines (like the example given to generates a Helix curve in the paraview Wiki.) <br>
I use file=fopen("file1",'r') and extract the coordinates of each point from the file and visualize that line.. and it is working great.<br>now the problem is, i have so many files (many lines) and i want to see all the lines at once.<br>
so i could use like<br><br>FILES=["file1.dat","file2.dat", ..... ]<br>for filename in FILES:<br> file=open(filename,'r')<br><br>but i would like to know more elegant way than writing each filenames in an array (difficult in the case when i have say 100 files)<br>
<br>any tips and tricks..?<br>thank you<br>Sreejith<br><br>