Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to load a python script via batch file having a pss/e application running

Hi Folks,

I have a vba code that creates a batch file to open PSS/E and reads my python script. The batch file line that does that follows: psse33 -pyfile "MyPythonScript.py"

So, I changed my vba code already to check if there is any PSS/E application running. But I don't know how to modify my batch file so it doesn't open a pss/e again if there is one launched. Instead, I'd like to simply activate the PSS/E window and load my python code. Does it make sense to you guys? I don't much about batch commands.

Please let me know if you have any idea. Thank you!

How to load a python script via batch file having a pss/e application running

Hi Folks,

I have a vba code that creates a batch file to open PSS/E and reads my python script. The batch file line that does that follows: follows:

psse33 -pyfile "MyPythonScript.py"

So, I changed my vba code already to check if there is any PSS/E application running. But I don't know how to modify my batch file so it doesn't open a pss/e again if there is one launched. Instead, I'd like to simply activate the PSS/E window and load my python code. Does it make sense to you guys? I don't much about batch commands.

Please let me know if you have any idea. Thank you!