Jump to content

How To Compile Python 3.3 Program

Snapy1

Okay so im a total newb at python and I just made this simple script and I want to know how to make it into a .exe

Link to comment
Share on other sites

Link to post
Share on other sites

You'll have to get a program that does it, Python can't compile Windows binaries.

 

Why do you need a .exe? Can't you just run the script with the Python interpreter?

 

You might find these helpful, but there isn't one for Python 3.3

http://www.py2exe.org/

http://www.logix4u.net/component/content/article/27-tutorials/44-how-to-create-windows-executable-exe-from-python-script

I do not feel obliged to believe that the same God who has endowed us with sense, reason and intellect has intended us to forgo their use, and by some other means to give us knowledge which we can attain by them. - Galileo Galilei
Build Logs: Tophat (in progress), DNAF | Useful Links: How To: Choosing Your Storage Devices and Configuration, Case Study: RAID Tolerance to Failure, Reducing Single Points of Failure in Redundant Storage , Why Choose an SSD?, ZFS From A to Z (Eric1024), Advanced RAID: Survival Rates, Flashing LSI RAID Cards (alpenwasser), SAN and Storage Networking

Link to comment
Share on other sites

Link to post
Share on other sites

You'll have to get a program that does it, Python can't compile Windows binaries.

 

Why do you need a .exe? Can't you just run the script with the Python interpreter?

 

http://www.py2exe.org/

No, this script is for my history teacher, he a program to make a simple gui where he can launch his favorite programs so I told him I could write one up for him

Link to comment
Share on other sites

Link to post
Share on other sites

No, this script is for my history teacher, he a program to make a simple gui where he can launch his favorite programs so I told him I could write one up for him

and what program should I use and py2exe doesnt work because im running python 3.3 nor does cx_freeze

Link to comment
Share on other sites

Link to post
Share on other sites

and what program should I use and py2exe doesnt work because im running python 3.3 nor does cx_freeze

I don't know of any others, sorry.

 

EDIT: I guess you can do it natively in Python 3.3

 

http://docs.python.org/3/distutils/builtdist.html#creating-windows-installers

I do not feel obliged to believe that the same God who has endowed us with sense, reason and intellect has intended us to forgo their use, and by some other means to give us knowledge which we can attain by them. - Galileo Galilei
Build Logs: Tophat (in progress), DNAF | Useful Links: How To: Choosing Your Storage Devices and Configuration, Case Study: RAID Tolerance to Failure, Reducing Single Points of Failure in Redundant Storage , Why Choose an SSD?, ZFS From A to Z (Eric1024), Advanced RAID: Survival Rates, Flashing LSI RAID Cards (alpenwasser), SAN and Storage Networking

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×