Ask Your Question
3

When running PSS/E from python how do I prevent progress windows from popping up?

asked 2012-05-29 02:02:25 -0600

Peter B gravatar image

updated 2012-06-14 02:48:50 -0600

JervisW gravatar image

When I run PSS/E from python I get all these annoying pop-ups that come up after I press F5 in IDLE. Each of these requires I press enter to make them go away. Sometimes the pop-up just states the case name but other times it gives obscure information about dimension sizes etc and I end up pressing enter dozens of times to remove them.

How I can I prevent these from coming up in the first place?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2012-05-29 11:00:18 -0600

JervisW gravatar image

updated 2012-05-30 17:32:41 -0600

jtrain gravatar image

Hi Peter,

The best way to remove these pop up boxes is to redirect the output.

Near where you imported psspy:

import psspy

Import another module named redirect

import redirect
redirect.psse2py()

redirect is a module written by the PSSE team, and the psse2py function will send the PSSE output from pop up boxes into your Python terminal.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2012-05-29 02:02:25 -0600

Seen: 2,193 times

Last updated: May 30 '12