First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version | asked 2015-07-24 05:37:55 -0500 Anonymous |
Hey
I try to make PSSE open file by my entered name. But it doesn't open it with string file directory. What kind of variable it needs or is there another way. My sample code is below and error under ##
name= str(raw_input('')) print(name) sav='.sav' casename=name+sav fdir='C:\PSS\FAILID\%s' %casename psspy.case(r"""str(fdir)""")