First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
CODE: import os,sys
PSSELOCATION = r"C:\Program Files(x86)\PTI\PSSE33\PSSBIN" sys.path.append(PSSELOCATION) os.environ['PATH'] = os.environ['PATH'] + ';' + PSSE_LOCATION
I try to use python2.7 to connect psse , but it show ImportError: No module named psspy,please give me help ,thx! ps: I already have download win32com
2 | No.2 Revision |
CODE:
import os,sys
PSSELOCATION = r"C:\Program Files(x86)\PTI\PSSE33\PSSBIN" sys.path.append(PSSELOCATION) os.environ['PATH'] = os.environ['PATH'] + ';' + PSSE_LOCATION
I try to use python2.7 to connect psse , but it show ImportError: No module named psspy,please give me help ,thx! ps: I already have download win32com
3 | No.3 Revision |
import os,sys
PSSELOCATION = r"C:\Program Files(x86)\PTI\PSSE33\PSSBIN" sys.path.append(PSSELOCATION) os.environ['PATH'] = os.environ['PATH'] + ';' + PSSE_LOCATION import psspy
I try to use python2.7 to connect psse , but it show ImportError: No module named psspy,please give me help ,thx! ps: I already have download win32com