Py2exe

Reply

Join Date: Sep 2008
Posts: 94
Reputation: pywriter is an unknown quantity at this point 
Solved Threads: 0
pywriter's Avatar
pywriter pywriter is offline Offline
Junior Poster in Training

Py2exe

 
0
  #1
Oct 28th, 2008
Hi
Excuse me but i came again
Can someone learn me how to work with py2exe?
thanks
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 1,245
Reputation: evstevemd has a spectacular aura about evstevemd has a spectacular aura about evstevemd has a spectacular aura about 
Solved Threads: 118
evstevemd's Avatar
evstevemd evstevemd is offline Offline
Nearly a Posting Virtuoso

Re: Py2exe

 
0
  #2
Oct 28th, 2008
I think I posted somewhere GUI versions and If not mistaken, ene posted the coding version. Try to search the forum
Atheist: God is man made imagination, he doesn't exist!
Theist: It's okay, can you imagine anything else that doesn't exist?
Junior MD --- Python, C++ and PHP
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 45
Reputation: tyincali is an unknown quantity at this point 
Solved Threads: 6
tyincali tyincali is offline Offline
Light Poster

Re: Py2exe

 
0
  #3
Oct 28th, 2008
I'll assume you have already read the tutorial at:

http://www.py2exe.org/index.cgi/Tutorial

basically, once you have py2exe installed you need to make a script to build the exe. Make a file called setup.py in the directory with the python file you want to make an exe out of. put the following inside setup.exe:
  1. from distutils.core import setup
  2. import py2exe
  3.  
  4. setup(console=['yourscript.py'])

replacing yourscript.py with your scripts name.

then run it from the command line with

  1. python setup.py py2exe
If it completes succesfully you should now have an exe in your folder.
Last edited by tyincali; Oct 28th, 2008 at 1:02 pm.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 837
Reputation: Paul Thompson has a spectacular aura about Paul Thompson has a spectacular aura about 
Solved Threads: 130
Sponsor
Paul Thompson's Avatar
Paul Thompson Paul Thompson is offline Offline
previously paulthom12345

Re: Py2exe

 
0
  #4
Oct 28th, 2008
If your using a GUI you may want to take a look at this piece of code:
http://www.daniweb.com/forums/post623822-10.html
Make it idiot proof and someone will make a better idiot.
Check out my Site | and join us on IRC | Python Specific IRC
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Python Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC