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

.py to binary

P: n/a
Hi,
I would like to convert a .py file into a stand-alone executable, so that
anyone can run it without having to install the python interpreter. I know
there is a py2exe program for Windows, but I would like to do the same for
Linux. Is it possibile or Linux only allow to use python scripts?
Thanks for helping,
Marco
Jul 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Marco Terzuoli wrote:
I would like to convert a .py file into a stand-alone executable, so that
anyone can run it without having to install the python interpreter. I know
there is a py2exe program for Windows, but I would like to do the same for
Linux. Is it possibile or Linux only allow to use python scripts?


A large portion of RPM code is written in Python, so any RPM distro (Red
Hat, SuSE, Mandrake...) should have Python installed by default. I think
Debian might too, so you shouldn't worry about making an installer.
Jul 18 '05 #2

P: n/a
Marco Terzuoli <ma************@libero.it> wrote in message news:<kf******************@twister2.libero.it>...
Hi,
I would like to convert a .py file into a stand-alone executable, so that
anyone can run it without having to install the python interpreter. I know
there is a py2exe program for Windows, but I would like to do the same for
Linux. Is it possibile or Linux only allow to use python scripts?
Thanks for helping,
Marco


Use this software:
http://starship.python.net/crew/theller/py2exe/
Jul 18 '05 #3

P: n/a

Take a look at freeze.py. It is located in Tools/freeze in the
Python source distribution.

Marco Terzuoli wrote:
Hi,
I would like to convert a .py file into a stand-alone executable, so that
anyone can run it without having to install the python interpreter. I know
there is a py2exe program for Windows, but I would like to do the same for
Linux. Is it possibile or Linux only allow to use python scripts?
Thanks for helping,
Marco

Jul 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.