Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40863
| Date | 2013-03-08 16:12 +0000 |
|---|---|
| From | MRAB <python@mrabarnett.plus.com> |
| Subject | Re: Tkinter GUI Question-Infinite Loop |
| References | <732589c8-7322-4b11-96dd-99808d40fc6f@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3084.1362759137.2939.python-list@python.org> (permalink) |
On 08/03/2013 14:04, prquinn@gmail.com wrote: > Greetings, > > I'm trying to run a simple Tkinter program that opens a program when > you click a button. The code is listed below. I use a command to > call a program that then calls a fortran program. However, when I > click on the button, it opens the program but the menu of the program > i'm calling goes into an infinite loop......the offending code seems > to be in the button1Click module. > > Any help is greatly appreciated. > You say "the menu *of the program i'm calling* goes into an infinite loop" (my emphasis), so perhaps the problem isn't in _your_ code. Try something simpler like this: import psspy psspy.runiplanfile(r"C:\MNTACT\Contingency Program\work\contingency-31-4.irf") Does the program you're calling still go into an infinite loop?
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Tkinter GUI Question-Infinite Loop prquinn@gmail.com - 2013-03-08 06:04 -0800 Re: Tkinter GUI Question-Infinite Loop MRAB <python@mrabarnett.plus.com> - 2013-03-08 16:12 +0000
csiph-web