0

Possible Duplicate:
How can I make an EXE file from a Python program?

I am looking for a method in which i can run python program without having packages installed in the system. Is there any way by which we can directly run any python code as an *exe. or Should I make a executable file which has all packages in it.

The main reason behind this is, able to run python program on system which is not having python/packages in it.

2

2 Answers 2

1

http://www.pyinstaller.org/ is another good option. Does a lot of the same things py2exe does and suffers from the same problems.

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

1 Comment

Having used both pyinstaller and py2exe I have to say that pyinstaller makes it slightly easier to produce a single exe.
1

py2exe is what you want. This will build an executable from your source.

The downside is: it packs an interpreter with the exe, so the filesize might become bigger. And when you use external libraries, especially C-bindings, you'll have to make manual steps.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.