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

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!