| 1 | initial version |
The following script goes through all cases in working directory and writes the error codes from API FDNS and SOLVED to a text file.
import glob
with open('cases_solved.txt','w') as f:
for file in glob.glob('*.sav'):
psspy.case(file)
f.write('%s \t%s \t%s\n' %(file,psspy.fdns(),psspy.solved()))
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.