how to use py2exe
10,332
Published 2009-12-16
setup file code:
from distutils.core import setup
import py2exe
setup(console=['hello.py'])
-----------------------------------------------------------
IN THIS HELLO.PY SHOULD BE REPLACED BY YOURFILENAME.PY
All Comments (9)
-
I LOVE YOU! i've tried many, many tutorials, but yours is the first that worked!!!!
-
you are a blessing
-
they made one but since you made that comment a year ago, im not sure if they had it then but you can get it now!
-
Thanks for uploading this, the website gave me allot of information but I couldn't find a read me file and there were little/no instructions clearly available on the site.
-
@gr8one93 sorry for my late reply, make sure the setup file[setup.py] and your app.py[hello.py] are in the same folder. and you have to use the setup file with the py2exe, do this it will work. Make sure the setup.py and the hello.py are in the same folder!
-
thank you for the information. I found this video very helpful
-
after i create the exe file when i try to run it it just pops up for a second then goes away..it doesnt stay open or anything! do you know what this is?
-
i cant do it there is this some errors should i change something on my codings?