First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
2

How do you actually run python programs so that others can download and use them?

asked Jul 12 '12

carla123 gravatar image

What i mean exactly is that... In my computer programing class at school we are coding directly into the python software and also executing our programs in there as well. How is it that I actually turn my code into something others who do not have the python package downloaded can run?

1 answer

Sort by » oldest newest most voted
0

answered Jul 13 '12

JervisW gravatar image

Hi Carla

I've used the py2exe before. It bundles your Python program up into a .exe file that you can give any person using windows. The person downloading your program will not need Python.

Here is a tutorial to get you started with py2exe: http://www.py2exe.org/index.cgi/Tutorial

Do you scripts use PSS/E? Because I don't think py2exe will work with PSS/E.

Let us know how it turns out for you!

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: Jul 12 '12

Seen: 551 times

Last updated: Jul 16 '12