Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Case opening file dir

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)""")

File not found. str(fdir).cnv (OpnApplFil/OPNPTI)