.py to binary

M

Marco Terzuoli

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
 
L

Leif K-Brooks

Marco said:
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.
 
L

lukas

Marco Terzuoli said:
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/
 
R

Rick L. Ratzel

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top