Connecting Tech Pros Worldwide Help | Site Map

WooHoo! py2exe Works!

true911m's Avatar
Member
 
Join Date: Dec 2006
Location: Baltimore, MD
Posts: 95
#1: Dec 14 '06
Today I created my first working Python Windows GUI .exe, and ran it successfully on a machine without Python installed. :)
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,400
#2: Dec 14 '06

re: WooHoo! py2exe Works!


Quote:

Originally Posted by true911m

Today I created my first working Python Windows GUI .exe, and ran it successfully on a machine without Python installed. :)

Tell us how! I've got py2exe, but haven't used it yet. What's your tool?
true911m's Avatar
Member
 
Join Date: Dec 2006
Location: Baltimore, MD
Posts: 95
#3: Dec 14 '06

re: WooHoo! py2exe Works!


Quote:

Originally Posted by bartonc

Tell us how! I've got py2exe, but haven't used it yet. What's your tool?

I used py2exe. I just used the most basic example on the web page, which is the only documentation at this point.

It did turn a 17kb source file into an 11.9MB executable, though, so I think there's room for streamlining the process....
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,400
#4: Dec 14 '06

re: WooHoo! py2exe Works!


Quote:

Originally Posted by true911m

I used py2exe. I just used the most basic example on the web page, which is the only documentation at this point.

It did turn a 17kb source file into an 11.9MB executable, though, so I think there's room for streamlining the process....

You do know that the python execution engine is in there, right?
true911m's Avatar
Member
 
Join Date: Dec 2006
Location: Baltimore, MD
Posts: 95
#5: Dec 14 '06

re: WooHoo! py2exe Works!


Quote:

Originally Posted by bartonc

You do know that the python execution engine is in there, right?

Sure. But someone was pointing out that it stores much more than it needs for its purpose, like all of Tkinter (just an example), whether it's called on or not.
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,400
#6: Dec 14 '06

re: WooHoo! py2exe Works!


Quote:

Originally Posted by true911m

Sure. But someone was pointing out that it stores much more than it needs for its purpose, like all of Tkinter (just an example), whether it's called on or not.

Ooooh, good point.
true911m's Avatar
Member
 
Join Date: Dec 2006
Location: Baltimore, MD
Posts: 95
#7: Dec 15 '06

re: WooHoo! py2exe Works!


Quote:

Originally Posted by bartonc

Ooooh, good point.

OK, renamer-guy. :) I was more excited about my first GUI, but py2exe is good, too!
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,400
#8: Dec 15 '06

re: WooHoo! py2exe Works!


Quote:

Originally Posted by true911m

OK, renamer-guy. :) I was more excited about my first GUI, but py2exe is good, too!

Yeah, we like the titles to be topical to aid others in finding info.
bvdet's Avatar
Moderator
 
Join Date: Oct 2006
Location: Nashville, TN
Posts: 1,563
#9: Dec 15 '06

re: WooHoo! py2exe Works!


Quote:

Originally Posted by true911m

OK, renamer-guy. :) I was more excited about my first GUI, but py2exe is good, too!

Congratulations! I hope to get there one day as well.
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,400
#10: Dec 15 '06

re: WooHoo! py2exe Works!


Quote:

Originally Posted by bvdet

Congratulations! I hope to get there one day as well.

You will, BV. And we'll help you do it!
Loismustdie129's Avatar
Familiar Sight
 
Join Date: Aug 2006
Posts: 195
#11: Dec 17 '06

re: WooHoo! py2exe Works!


I more than hope to do it one day, I need some real help right now. I tried to use the baisc example on a web page on some website and it didn't work. I was wondering if you guys could help me with the py2exe and how to use it.
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,400
#12: Dec 17 '06

re: WooHoo! py2exe Works!


Quote:

Originally Posted by Loismustdie129

I more than hope to do it one day, I need some real help right now. I tried to use the baisc example on a web page on some website and it didn't work. I was wondering if you guys could help me with the py2exe and how to use it.

Sure. Just start a new discussion with description and examples of what you have tried. Please include any error messages that you are getting.
true911m's Avatar
Member
 
Join Date: Dec 2006
Location: Baltimore, MD
Posts: 95
#13: Dec 17 '06

re: WooHoo! py2exe Works!


Quote:

Originally Posted by Loismustdie129

I more than hope to do it one day, I need some real help right now. I tried to use the baisc example on a web page on some website and it didn't work. I was wondering if you guys could help me with the py2exe and how to use it.

Check out my new thread, Simple guide to using py2exe, for a walkthrough.
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,400
#14: Jan 30 '07

re: WooHoo! py2exe Works!


I'm attempting to compile my very large project now. I did a google search for "py2exe gui" and guess what hit at the #4 spot. There were some other useful hits as well.
Reply