0

I want to compile python prototypes without having to re-code them in other languages so that i can use them in user machines (without python installed). Does any one know a 3rd party compiler i can use? (python 3)

1

3 Answers 3

3

py2exe will allow you to create a standalone executable from a python application, which you can then redistribute (to machines that do not have python). However, it is not a compiler.

1
  • The only problem is, that according to their webpage it is not python 3 ready yet, so maybe cx_freeze might work better: cx-freeze.sourceforge.net
    – BergmannF
    Jan 29, 2012 at 16:45
3

The closest thing to what you're asking for is Cython.

1

"Cython - is a language that makes writing C extensions for the Python language as easy as Python itself. Cython is based on the well-known Pyrex, but supports more cutting edge functionality and optimizations - http://cython.org/"

"py2exe - is a Python Distutils extension which converts Python scripts into executable Windows programs, able to run without requiring a Python installation - http://www.py2exe.org/"

You can use them without needing to install Python on your computer. 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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