Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The following code works in v.33.10:

import os,sys
psseversion = 33
if psseversion== 34 or psseversion== 33:
   exec('import psse%s'%psseversion)
else:
   pssepath = r"C:\Program Files (x86)\PTI\PSSE32\PSSBIN"
   if pssepath not in sys.path:
      sys.path.append(pssepath)