Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Your code works fine. For the version below, run it after opening PSSe v.33 and enter 'savnw' [no quotes] to the question.

name= raw_input('enter a base case name [.sav]')
print (name)
sav='.sav'
casename=name+sav
fdir='C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\%s'%casename
print (fdir)
psspy.case(fdir)

Your error message contains a '.cnv' extension. My guest is you are typing an invalid filename that it does not exist in your working folder.