Ask Your Question
0

running pyc file in psse

asked 2017-01-23 19:36:01 -0500

petite cho gravatar image

I have some problems about pyc file in PSS/E.

If I make the pyc file in psse 32 version, I can't run this automation file in psse 34 version.

I want to make this automation file to be compatible with another version in psse.

How can I do?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2017-01-23 21:08:10 -0500

jconto gravatar image

Psse32 works with python 2.3, Psse33 and PSSe34 works with python 2.7. When py code is compiled into pyc code, it becomes PSSe version dependent. If you run the source py code, it should run in any Psse version.

From PSSe33 Release Note: "Starting with release 33.4.0, a new command line switch has been supplied to allow you to run any of several versions of Python with PSS®E, including the native interpreter for 2.7, the version that we supply a rebuilt copy of. Through some internal conversions that we have developed, most of the original problems have been avoided. If you specify no command line switch then you will still get the rebuilt interpreter. The shortcut in the Start Menu will specify -pyver 27."

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: 2017-01-23 19:36:01 -0500

Seen: 725 times

Last updated: Jan 23 '17