Compile Python To Standalone Binary

Linux tutorials and code.
1 post Page 1 of 1
Contributors
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

Well the title is pretty self explanatory.

Anyway you're going to need to get cx-freeze. (Note cx-freeze is cross platform.)

If you're using Ubuntu you can use the following terminal command to install it.
Code: Select all
sudo apt-get install cx-freeze
After you have it installed navigate to the directory of your application, via the terminal, and then put down the following terminal command to compile your app.
Code: Select all
cxfreeze appname.py
Now that's mainly for simple scripts. You can head here to learn more about cx-freeze.
1 post Page 1 of 1
Return to “Programming”