No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, I have a PCL file which consists of following lines for the first few lines. uil_file_new.go( "C:\MSC.Software\Patran_x64\20121/template.db", @ "C:\Users\IMEMS SDC\Desktop\patran\plate.db" ) set_current_dir( "C:\Users\IMEMS SDC\Desktop\patran" ) The uil_file_new.go which is a default command for creating new database in patran. Now i want to keep the file name as an user … |
|
I wrote the code as below its extracting all tabular data by splitting. Now i want to extract the last column(Values) data by removing Text in the middle of the table. import re f_read = open('filename','r') f_write=open('filename','w') str='CEN/4' for line in f_read: m=re.search(str,line) if m: for line in f_read: # … |