link psse34 to python
i want to link python to pssexplore34 how can i do it? when i used below code i got this msg "ImportError: DLL load failed: The specified module could not be found.". my code is :
import sys import os
PSSE_PATH= r'C:\Program Files\PTI\PSSEXplore34\PSSPY27'
sys.path.append(PSSEPATH) os.environ['PATH']+=';'+ PSSEPATH
import psspy
http://www.whit.com.au/blog/2011/07/run-psse-from-python-and-not-other-way/ In this blog post the added folder is PSSBIN. However, this is for the full version, so I'm not 100% confident that PSSEXplore supports Python driven usage of PSSE.