how to compile python program to linux executable

Gerhard Häring gh at ghaering.de
Tue Jul 15 05:04:36 EDT 2003


Ruslan Spivak wrote:
> Hello.
> 
> Is it possible to convert python program to linux executable program? [...]

You can make an executable that contains both your Python script and 
modules and the interpreter runtime. It's called 'freezing'. The utility 
for this is in the Python source distribution. There's also Gordon 
McMillan's Installer that makes the process easier. He offers Linux and 
Windows versions.

Why would you want to do that? There's almost certainly a better 
solution for your problem, *if* there is any problem in the first place.

-- Gerhard





More information about the Python-list mailing list