Ask Your Question

Revision history [back]

Hi everybody,

I'm using a PSS/E version 32 and in my python programs use the following code:

import os,sys

Path definition to include in the searching paths for the sys library

PATHPSSEINSTALLATION="C:\Program Files (x86)\PTI\PSSE32\PSSBIN" PATHLOCALPROGRAM="D:\MyProgram"

Add path definition to the paths used by sys library

sys.path.append(PATHPSSEINSTALLATION) sys.path.append(PATHLOCALPROGRAM) os.environ['PATH']=os.environ['PATH']+";"+PATHPSSEINSTALLATION

I hope the code be useful for you.