Ask Your Question
1

Closing PSSE from python

asked 2013-05-01 08:24:23 -0600

Pyfoon gravatar image

I initiate a python file in PSSE through a batch file. I have no problems with launching the program or anything of the sort, however, once I am done. How do I close the program?

My Python script processes and saves the case without any problems, but I just dont know how to close PSSE when I am done!

Any ideas?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-05-01 17:14:44 -0600

Eli Pack gravatar image

This should do the trick:

psspy.stop_2()

On old versions of PSSE, you may need to use psspy.stop(), which is now obsolete.

edit flag offensive delete link more

Comments

Note, this will also crash your Python instance. There isn't a good way to close PSSE without everything closing down.

JervisW gravatar imageJervisW ( 2013-05-08 04:59:17 -0600 )edit

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: 2013-05-01 08:24:23 -0600

Seen: 1,976 times

Last updated: May 01 '13