By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,715 Members | 768 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,715 IT Pros & Developers. It's quick & easy.

Using Easygui with python

P: 2
Hey All, requesting some help.

I have been developing scripts for automating hardware tests. I have been able to use py2exe to compile them and run them on other machines. To make it user friendly and keep it basic for myself, I am trying to use Easygui. When I run my program within python, i get my expect dialog boxes, etc.

I then compiled my code with py2exe, but now all that happens is the command prompts opens and closes immediately. I don't get my dialogs boxes and my tests don't work.

I am sure it is a basic questions, but if someone could shed some light, I would appreciate it.

Please keep in mind that I only started coding 2 weeks ago so am, needless to say, an amateur

Thanks in advance for the help.
May 29 '07 #1
Share this Question
Share on Google+
3 Replies


bartonc
Expert 5K+
P: 6,596
Hey All, requesting some help.

I have been developing scripts for automating hardware tests. I have been able to use py2exe to compile them and run them on other machines. To make it user friendly and keep it basic for myself, I am trying to use Easygui. When I run my program within python, i get my expect dialog boxes, etc.

I then compiled my code with py2exe, but now all that happens is the command prompts opens and closes immediately. I don't get my dialogs boxes and my tests don't work.

I am sure it is a basic questions, but if someone could shed some light, I would appreciate it.

Please keep in mind that I only started coding 2 weeks ago so am, needless to say, an amateur

Thanks in advance for the help.
Yeah. There's nothing basic about using py2exe for anything but pure python (no third party packages). I've posted a setup script here which demonstrates some of the options you have when trying to gain control over what py2exe actually includes (and doesn't include). Since I don't use easygui, you'll have to experiment with that script until you get the desired results.

Thanks for joining us on TheScripts.com.
May 29 '07 #2

P: 2
Yeah. There's nothing basic about using py2exe for anything but pure python (no third party packages). I've posted a setup script here which demonstrates some of the options you have when trying to gain control over what py2exe actually includes (and doesn't include). Since I don't use easygui, you'll have to experiment with that script until you get the desired results.

Thanks for joining us on TheScripts.com.

Thank you for the quick reply. Please keep in mind I am more of a mechanic than a software guru...

Is there something better than py2exe to use for this scenario?

Thanks again for the help
May 29 '07 #3

bartonc
Expert 5K+
P: 6,596
Thank you for the quick reply. Please keep in mind I am more of a mechanic than a software guru...

Is there something better than py2exe to use for this scenario?

Thanks again for the help
I've chosen to use py2exe (better? hard to say)...
true911m has posted a simple walkthrough or pyinstaller, here ...(options are always a good thing).
May 29 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.