Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Your code here says you are using Python 2.7 to import the psspy for Python 3.4. Of course you would get a bad magic number as a result. You either need to import the psspy for Python 2.7 or use Python 3.4 to import the psspy for Python 3.4. PSSE does not support Python 3.7.