By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,089 Members | 2,359 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,089 IT Pros & Developers. It's quick & easy.

Exe file

P: n/a
Hi @ll

I'm sorry for that newbie question but how can I compile a program (a .py
file) to an executable file?

--
Philip Seeger
Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Philip Seeger wrote:
I'm sorry for that newbie question but how can I compile a program (a .py
file) to an executable file?


To save you what might be much wasted time on a wild goose chase, could
you please tell us why you want to do this? (performance, protection
from prying eyes, easier distribution, or some other reason?)

-Peter
Jul 19 '05 #2

P: n/a
For easier distribution. Otherwise the client computer had to have Python
installed.

Philip

"Peter Hansen" <pe***@engcorp.com> schrieb im Newsbeitrag
news:l7********************@powergate.ca...
Philip Seeger wrote:
I'm sorry for that newbie question but how can I compile a program (a .py
file) to an executable file?


To save you what might be much wasted time on a wild goose chase, could
you please tell us why you want to do this? (performance, protection from
prying eyes, easier distribution, or some other reason?)

-Peter

Jul 19 '05 #3

P: n/a
Philip Seeger wrote:
I'm sorry for that newbie question but how can I compile a program (a .py
file) to an executable file?
.... For easier distribution. Otherwise the client computer had to have Python
installed.


In that case, and since you appear to be running on Windows (judging by
the headers in your post), look for "py2exe". You may also want to use
InnoSetup or another free installer, since py2exe does the packaging you
want but doesn't bundle the files all together for easy installation.

Py2exe plus InnoSetup is a very widely used and appreciated combo.

-Peter
Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.