I want to read and print lines of numbers between two spesific lines. So my reading should start under Face9 and end ***********************************************************. I should use stars(*) as parameters when I try to find and read this numbers. This data is in inp file. So I should use python file reading functions.
I tried to use find and seek functions. I found a position of Face9 with find function but When I try to use it with seek function and read after this position, I can't reach numbers that I want. In short, find and seek position doesn't matched.
Data that I want to read and print between stars(*)
***********************************************************
** constraints force node loads
*CLOAD
** ConstraintForce
** node loads on shape: Connect:Face9
10,1,0.0000000000000E+00
11,1,0.0000000000000E+00
26,1,0.0000000000000E+00
27,1,0.0000000000000E+00
80,1,6.2500000000000E+01
152,1,0.0000000000000E+00
153,1,0.0000000000000E+00
154,1,0.0000000000000E+00
155,1,6.2500000000000E+01
156,1,6.2500000000000E+01
157,1,6.2500000000000E+01
158,1,6.2500000000000E+01
159,1,0.0000000000000E+00
160,1,0.0000000000000E+00
161,1,0.0000000000000E+00
162,1,6.2500000000000E+01
163,1,6.2500000000000E+01
164,1,6.2500000000000E+01
165,1,6.2500000000000E+01
166,1,6.2500000000000E+01
424,1,1.2500000000000E+02
425,1,1.2500000000000E+02
426,1,1.2500000000000E+02
427,1,1.2500000000000E+02
428,1,1.2500000000000E+02
429,1,1.2500000000000E+02
430,1,1.2500000000000E+02
***********************************************************