1

I'd like to know how to compile a .py file into an executable file. I know that python is an interpreted language but i need to make an executable for a machine where i can't install a python interpreter so i'd like to compile it into an executable. So i wonder if there could be a command line to make it (i traditionaly use Makefile for my programming project).

Thank you for reading

1
  • installing a python interpreter is equally complicated as installing any other program, including yours; so if you can install your exectable, you can also install python. Commented Oct 17, 2013 at 14:15

2 Answers 2

2

PyInstaller - multiplatform
py2app - for Mac OS
Py2Exe - Windows

Sign up to request clarification or add additional context in comments.

Comments

2

cx-freeze this is also multiplateform

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.