how to use py2exe

10,332
0
Published 2009-12-16
in this tutorial i am going to show you how to use py2exe.

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)
  • @anindita550
    I LOVE YOU! i've tried many, many tutorials, but yours is the first that worked!!!!
  • @TheUkeKid101
    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!
  • @samsta10000
    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.
  • @bullygram
    @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!
  • @cesnikmartin
    thank you for the information. I found this video very helpful
  • @DontDoubtThomas
    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?
  • @Hhunterr18
    i cant do it there is this some errors should i change something on my codings?