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


Groups > comp.lang.python > #99640

Re: python response slow when running external DLL

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Laura Creighton <lac@openend.se>
Newsgroups comp.lang.python
Subject Re: python response slow when running external DLL
Date Fri, 27 Nov 2015 13:49:47 +0100
Lines 10
Message-ID <mailman.174.1448628595.20593.python-list@python.org> (permalink)
References <dc290806-c537-4546-b802-88dff14d81c0@googlegroups.com> <mailman.169.1448615930.20593.python-list@python.org> <f4cf8b4f-94e7-4d97-b144-65f59c20fbc1@googlegroups.com> <n39hpj$384$1@ger.gmane.org>
Mime-Version 1.0
Content-Type text/plain; charset="us-ascii"
X-Trace news.uni-berlin.de dPd8f1+dlB2KvBfGMG8xMgvD6t/c4YmeuCsf67fa2mKA==
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; '(python': 0.05; 'cc:addr :python-list': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'subject:python': 0.14; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'cleaner': 0.16; 'code).': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message- id:@fido.openend.se': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:slow': 0.16; 'subject:when': 0.16; 'threading': 0.16; 'to:addr:web.de': 0.16; 'laura': 0.18; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'fri,': 0.27; 'received:se': 0.29; 'url:activestate': 0.29; 'cc:no real name:2**1': 0.29; 'probably': 0.31; 'url:code': 0.34; 'nov': 0.35; 'but': 0.36; 'url:org': 0.36; 'subject:: ': 0.37; 'charset:us- ascii': 0.37; 'header:Message-Id:1': 0.61; 'url:htm': 0.75; '>from': 0.76; 'header:In-reply-to:1': 0.84; 'otten': 0.84; 'url:recipes': 0.84; 'subject:response': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=openend.se; s=default; t=1448628592; bh=NiooLaeoY5qmzbWWP4HCHtxhPr95uSS/OmXo+ER9IMo=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=rsjvNzu6vswAjqe0IOnElIw6llc2gft6cCp/oYsoht47Py8H0PK8xtfCB3pa0/+N/ G0KwX+4DZBKyqJVrrNbv8c8v2JpOhG0yjYD8Bvd27DrkmPQ78713VX7/bbc7IBoIix 6l3liDhxWuiWyJ0k6zDm2bx0HlaFqgqRqz3vvFNM=
In-reply-to <n39hpj$384$1@ger.gmane.org>
Comments In-reply-to Peter Otten <__peter__@web.de> message dated "Fri, 27 Nov 2015 13:20:03 +0100."
Content-ID <27818.1448628587.1@fido>
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Fri, 27 Nov 2015 13:49:52 +0100 (CET)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:99640

Show key headers only | View raw


In a message of Fri, 27 Nov 2015 13:20:03 +0100, Peter Otten writes:

>A cleaner solution can indeed involve threads; you might adapt the approach 
>from <http://effbot.org/zone/tkinter-threads.htm> (Python 2 code).

But it is probably better to use threading

http://code.activestate.com/recipes/82965-threads-tkinter-and-asynchronous-io/

Laura

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

python response slow when running external DLL jfong@ms4.hinet.net - 2015-11-26 23:51 -0800
  Re: python response slow when running external DLL Peter Otten <__peter__@web.de> - 2015-11-27 10:18 +0100
    Re: python response slow when running external DLL jfong@ms4.hinet.net - 2015-11-27 03:14 -0800
      Re: python response slow when running external DLL Peter Otten <__peter__@web.de> - 2015-11-27 13:20 +0100
        Re: python response slow when running external DLL jfong@ms4.hinet.net - 2015-11-27 23:37 -0800
          Re: python response slow when running external DLL Peter Otten <__peter__@web.de> - 2015-11-28 11:13 +0100
            Re: python response slow when running external DLL jfong@ms4.hinet.net - 2015-11-28 18:55 -0800
              Re: python response slow when running external DLL jfong@ms4.hinet.net - 2015-11-30 17:03 -0800
              Re: python response slow when running external DLL Peter Otten <__peter__@web.de> - 2015-12-01 12:01 +0100
                Re: python response slow when running external DLL jfong@ms4.hinet.net - 2015-12-01 19:58 -0800
          Re: python response slow when running external DLL Laura Creighton <lac@openend.se> - 2015-11-28 11:51 +0100
            Re: python response slow when running external DLL jfong@ms4.hinet.net - 2015-11-28 19:04 -0800
      Re: python response slow when running external DLL Laura Creighton <lac@openend.se> - 2015-11-27 13:49 +0100

csiph-web