3

I've googled and googled, and everything I've seen has directed me to py2exe. I've looked at it and downloaded the latest version of it, but it says I have to have Python 2.6 to use it! Does this mean I have to use Python 2.6 rather than 3.3.3, or is there an alternative to py2exe?

Edit: Thanks! I can now use cxFreeze, but is there a way I can compile it further so I don't have to run it from a different folder? Or should I create a batch file calling the .exe from the command line and convert the batch file to an executable?

2 Answers 2

3

The latest version of py2exe (0.9.2) support python 3 http://sourceforge.net/p/py2exe/feature-requests/20/

Also you can try cx_Freeze it's like py2exe but cross platform.

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

Comments

0

On most *nix systems it is sufficient to put #!/usr/bin/python as the first line of the main script and then chmod +x /path/to/script.py.

2 Comments

It's kind of obvious that OP is using Windows
/usr/bin/python is usually Python 2.x. /usr/bin/python3 or /usr/bin/env python3 would be better.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.