Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40863

Re: Tkinter GUI Question-Infinite Loop

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python@mrabarnett.plus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.018
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:Question': 0.07; 'tkinter': 0.07; 'skip:p 40': 0.15; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'subject:GUI': 0.16; 'subject:Tkinter': 0.16; 'wrote:': 0.17; 'code.': 0.20; 'skip:p 30': 0.20; 'trying': 0.21; 'import': 0.21; 'button,': 0.22; 'simpler': 0.22; 'this:': 0.23; 'seems': 0.23; 'command': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'appreciated.': 0.26; 'module.': 0.27; 'run': 0.28; '(my': 0.29; '"the': 0.29; "i'm": 0.29; 'code': 0.31; 'goes': 0.33; 'problem': 0.33; 'to:addr:python-list': 0.33; 'something': 0.35; 'but': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'subject:-': 0.40; 'help': 0.40; 'email addr:gmail.com': 0.63; 'button.': 0.65; 'header:Reply-To:1': 0.68; 'below.': 0.68; 'reply-to:no real name:2**0': 0.72; 'click': 0.76; 'reply-to:addr:python.org': 0.84
X-CM-Score 0.00
X-CNFS-Analysis v=2.0 cv=XeZXOvF5 c=1 sm=1 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=_vX2mLoUpDQA:10 a=41fpmOgRFL4A:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=QvVFUdbz1XwA:10 a=pGLkceISAAAA:8 a=V0uXcUk9XO2qiyGaefgA:9 a=wPNLvfGTeEIA:10 a=MSl-tDqOz04A:10 a=0nF1XD0wxitMEM03M9B4ZQ==:117
X-AUTH mrabarnett:2500
Date Fri, 08 Mar 2013 16:12:14 +0000
From MRAB <python@mrabarnett.plus.com>
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
MIME-Version 1.0
To python-list@python.org
Subject Re: Tkinter GUI Question-Infinite Loop
References <732589c8-7322-4b11-96dd-99808d40fc6f@googlegroups.com>
In-Reply-To <732589c8-7322-4b11-96dd-99808d40fc6f@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3084.1362759137.2939.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1362759137 news.xs4all.nl 6962 [2001:888:2000:d::a6]:36479
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:40863

Show key headers only | View raw


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 | NextPrevious in thread | Find similar | Unroll thread


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