Prof
Prof

Reputation: 706

Python script to exe on python 3.5

What can I use to go from a python script to an exe on 3.5? Because both py2exe and CxFreeze only support up to 3.4.

Also, would it be possible to create an executable without a bunch of .dll's generated? Because I would like to have just a single .exe to share.

Thank you

Upvotes: 5

Views: 9744

Answers (1)

LetzerWille
LetzerWille

Reputation: 5658

Try pyinstaller. It worked for me fine with python 3.5.

Install pyinstaller with the following command

pip install pyinstaller

and build you exe with pyinstaller --onefile your_pyfile.py. --onefile option generates one file of about 6-8 megs max.

Upvotes: 5

Related Questions