Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm taking financial mathematics as an elective, and I'm working with real life finance industry worker type people. It's actually kind of fun. When I pulled out a macbook at one of our meetings, I had four lifelong windows users look at me like I had three heads.

Anyway, I'm helping with design and simulation of our trading strategy, and I wrote a little thing using matplotlib to visualize historical stock data. However, these guys don't know how to use git, or install python, or deal with path-related package management things. I need to be able to send my scripts to them to use, and I need to do it with absolutely minimal effort on their part.

I was thinking something on the lines of py2exe, but I'd like to hear some advice before I go ahead.

share|improve this question
What are the other guys using WIndows, Macs , *nix ? – James Anderson Nov 25 '11 at 4:44
with a little bit of pragmatism i can suggest to you the making of a very short vid where you show how to do what it's necessary to run your stuff. Just record a desktop and send them the vid. – Micro Nov 25 '11 at 4:53

For windows there are complete distributions available as an installable ".exe" from and an even more complete distribution from "ActiveState".

Although they are enormous the installation pretty much windows standard: download the file, double click on the .exe and agree to everything that pops up.

An alternative would be to wrap your script in "cherryPy" or similar web server and let them access your application via http.

share|improve this answer

You have two problems: * How do I get my program in the hands of others? * How do I write programs that can run outside my own machine?

You can publicize the program using DropBox, which gives you a folder you can copy files to, and then are made available on a web page where you can email others the URL. Very easy to use on a daily basis.

The "how can I make Python programs run outside my machine" depends on how much you can assume being available on the target computers, and it seems you cannot rely on anything else than stock Windows. This mean you will need to let your users either have a very easy download/install of the runtime, or you will need to carry the runtime with you in your program. This might prove to be quite troublesome - have you considered rewriting your program in e.g. .NET (using Mono) or Java, both which have portability in mind?

share|improve this answer

The best portable way is using web. You can use wsgi to make your script accessible from web. So they can access from all platforms.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.