Dear all, I am newbie to coding.I want extract the data from text file which contains text and tables.In a file i want to extract all "VON MISES" stress data from a table.i wrote a code as below. but i dont know how to extract the vonmises column data and dump it into text file. So i am attaching the file which i am using for my project.
* * *import re* *f_read = open('file name','r')* *str='VON MISES'* *for line in f_read: * * m=re.search(str,line)* * if m:* * print m* * * * * *Thanks regards Kamalakar* _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers