3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

compiling code?

I have written several scripts and simple games in python 2.7.2, and would like to give them to friends so they can play them. however, they do not have python, and therefore cant run it, so I need to compile the code. the only problem is, i cant figure out how or to compile it or to get any compiler to work. any help would be appreciated!
thanks,
           iloveairsoftstuff

1 answer
Nov 9, 2011. 2:55 AMdrknotter says:
Depending on what system you run and what systems your friends run, you have a few different options. Hopefully you haven't already tried these:
  •  py2exe compiles python code into an executable .exe file for Windows. The tutorial seems to have all the necessary information.
  • py2app turns python code into an executable .app file for Macs. The front page explains everything you'd need to do.
  • pyinstaller is probably the best bet in general, since it is cross-platform. The documentation looks like it contains all the necessary info.
Hope this helps! Good luck!

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!