Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can I initialize PSSE35 using python 3.9

Hi, I installed PSSE 35.3.3, and I have the follow script in python 3.9:

`import sys

import os

psse_PATH=(r"""C:\Program Files\PTI\PSSE35\35.3\PSSBIN""")

pssepy_PATH=(r"""C:\Program Files\PTI\PSSE35\35.3\PSSPY39""")

sys.path.append(psse_PATH)

envpath = ';'+psse_PATH

os.environ['PATH'] += envpath

sys.path.append(pssepy_PATH)

envpathpy = ';'+pssepy_PATH

os.environ['PATH'] += envpathpy

import psspy`

I haver error importing psspy module. Do you now how I can solve it?

click to hide/show revision 2
No.2 Revision

How can I initialize PSSE35 using python 3.9

Hi, I installed PSSE 35.3.3, and I have the follow script in python 3.9:

`import sys

import sys
import os
  

import os

psse_PATH=(r"""C:\Program Files\PTI\PSSE35\35.3\PSSBIN""")

psse_PATH=(r"""C:\\Program Files\\PTI\\PSSE35\\35.3\\PSSBIN""") pssepy_PATH=(r"""C:\Program Files\PTI\PSSE35\35.3\PSSPY39""")

sys.path.append(psse_PATH)

Files\PTI\PSSE35\35.3\PSSPY39""") sys.path.append(psse_PATH) envpath = ';'+psse_PATH

';'+psse_PATH os.environ['PATH'] += envpath

sys.path.append(pssepy_PATH)

envpath sys.path.append(pssepy_PATH) envpathpy = ';'+pssepy_PATH

';'+pssepy_PATH os.environ['PATH'] += envpathpy

envpathpy import psspy`

psspy

I haver error importing psspy module. Do you now how I can solve it?

click to hide/show revision 3
No.3 Revision

How can I initialize PSSE35 using python 3.9

Hi, I installed PSSE 35.3.3, and I have the follow script in python 3.9:

import sys
import os
 psse_PATH=(r"""C:\\Program Files\\PTI\\PSSE35\\35.3\\PSSBIN""")
pssepy_PATH=(r"""C:\Program Files\PTI\PSSE35\35.3\PSSPY39""")
sys.path.append(psse_PATH)
envpath = ';'+psse_PATH
os.environ['PATH'] += envpath
sys.path.append(pssepy_PATH)
envpathpy = ';'+pssepy_PATH
os.environ['PATH'] += envpathpy
import psspy

I haver error importing psspy module. Do you now how I can solve it?