Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'languages,': 0.04; '---------': 0.07; 'tkinter': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'yeah,': 0.09; 'thread': 0.14; '-------': 0.16; 'each)': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'worst': 0.16; 'wrote:': 0.18; 'load': 0.23; 'header:User-Agent:1': 0.23; 'url:moin': 0.24; 'least': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply- To:1': 0.27; 'url:wiki': 0.31; 'yes.': 0.31; 'probably': 0.32; 'another': 0.32; 'url:python': 0.33; 'style': 0.33; "can't": 0.35; 'created': 0.35; 'but': 0.35; 'really': 0.36; 'data,': 0.36; 'done,': 0.36; 'doing': 0.36; 'url:org': 0.36; 'should': 0.36; 'problems': 0.38; 'window': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'fact': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'problems.': 0.60; 'issues,': 0.61; 'email addr:gmail.com': 0.63; 'real': 0.63; 'different': 0.65 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dave Angel Subject: Re: tkinter redraw rates Date: Tue, 16 Jul 2013 22:21:42 -0400 References: <17c2ef71-ee2d-4229-9731-e0d54a0997cb@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 174.32.174.30 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 In-Reply-To: <17c2ef71-ee2d-4229-9731-e0d54a0997cb@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1374027719 news.xs4all.nl 15881 [2001:888:2000:d::a6]:56344 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50774 On 07/16/2013 09:51 PM, fronagzen@gmail.com wrote: If you are going to use googlegroups, then at least bypass its worst bugs, like double-spacing everything it quotes. http://wiki.python.org/moin/GoogleGroupsPython > > Yeah, I understand that tkinter isn't really designed for 'logic is running' style issues, but I do need to load that data, and sometimes, that can take a while. I am in fact experimenting > with threading another process to update the window, yes. --------- ------- ----------------- > Those three words/phrases strike a real discord. Multithreading is not the same as multiprocessing. And you probably don't ever want to update a window with a different thread than the one that created it. Not that it can't be done, at least in some languages, but that it's real rat-hole of problems. The extra thread or process (with different problems to each) should be doing the "logic is running" but NOT the gui. -- DaveA