Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~504 People Reached
Favorite Forums
Favorite Tags
Member Avatar for maddocspace

I have written this short code [CODE] import os import os.path import string import shutil import difflib Path = 'C:/RESULT/BATCH/SimpleInputParser/' SecPoint = [] FullList = [] newFile = [] for fileName in os.listdir(Path): if fileName.endswith(".inp"): f=open(Path + fileName, 'r') files = f.readlines() f.close() fp_clean = open(Path + "tempClean.inp", "w") fp_newFile …

Member Avatar for maddocspace
0
295
Member Avatar for maddocspace

Hello there, Sorry, unfortunately python parsing is not my main activity, it does not print the last block of the statement. i should get: *elset, elset=top_s1 1, 2, 3, 4 *surface, name=top, type=element top_s1 If i add in the test2 file a line such as *surface, name=bot, type=element then it …

Member Avatar for maddocspace
0
209