Python Program Distribution

How do I let my friends use my Python programs? They do not have python installed, but they can use command line programs. I do not have the skills to write a graphical interface.

Let, say, I am writing a costing calculator, with many custom modules and files. How can I share it?

+8
python
Dec 23 '09 at 1:28
source share
5 answers

You can use something like py2exe to convert your Python program to an executable.

+11
Dec 23 '09 at 1:29
source share

Another alternative you can try is Portable python .

+7
Dec 23 '09 at 1:35
source share

You have the options presented so far: Portable Python and Py2Exe. Or it can be pretty good.

My suggestion: ask your friends to install Python! As you know, it is free, just install and download. If they want your application to be bad enough, installing Python will be no problem.

+3
Dec 23 '09 at 5:57
source share

A less common but easy and easy way to put many Python files in 1 or 2 files (Python programs) is to Fredrik Lundh squeeze . When you โ€œcompressโ€ a bunch of Python programs and modules, you can often create one Python program. People still need Python to run it (but it is included in most Unix distributions, including Mac OS X), but you can easily distribute it, since your program and modules are all grouped into a single file.

+1
Dec 23 '09 at 10:53
source share

http://hackerboss.com/how-to-distribute-commercial-python-applications/ mentions the use of predefined, linked and frozen interpreters, but I suggest compiling with Shed Skin, Iron Python, Cython or PyPy for speed and security. The psyco module also helps with speed if your code is out of date.

+1
Nov 24 '11 at 11:10
source share



All Articles