Skip to main content
gamedev.net
🔒 Locked

Creating .exes with Python

Started by martin_bfg10k Jan 9, 2007 at 10:26 PM 2 replies 900+ views
Original Post
martin_bfg10k
martin_bfg10k
Hi, I'm new to python and I have a question. I have installed python 2.4.5 in my PC (with windows xp) and I want to know: It is posible to compile .exe files with python? For example, If a have a file called hello.py with the code:

print "Hello world"

Is there a way to make an exe? Thanks.
Kylotan
Kylotan
You don't really compile exes in the way you do with C++, however you can package them up into an executable. Google for Py2exe, for example.
kordova
kordova
Don't forget py2app for Macs!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.