First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
To print the 'help' text in the module pssarrays, run the following v.33 py code:
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)
#--------------------------------
import pydoc
import pssarrays
#--------------------------------
strhelp = pydoc.render_doc(pssarrays, "Help %s")
print strhelp