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


Groups > comp.lang.python > #63825

Re:plotting slows down

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'board.': 0.05; 'see.': 0.07; 'next,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'second.': 0.09; 'python': 0.11; 'wrote': 0.14; '2.7.3': 0.16; 'margin,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'seconds.': 0.16; 'using,': 0.16; 'module': 0.19; 'trying': 0.19; 'first.': 0.19; 'import': 0.22; 'finally,': 0.24; 'please?': 0.24; 'source': 0.25; 'code:': 0.26; 'developing': 0.27; 'gets': 0.27; 'header:X-Complaints- To:1': 0.27; 'mode': 0.30; 'code': 0.31; 'posting': 0.31; 'indentation': 0.31; 'anyone': 0.31; 'probably': 0.32; 'front': 0.32; 'text': 0.33; 'running': 0.33; 'skip:# 10': 0.33; 'moment': 0.34; 'could': 0.34; 'display': 0.35; 'done': 0.36; 'doing': 0.36; 'shows': 0.36; 'thanks': 0.36; 'wrong': 0.37; 'operating': 0.37; 'window': 0.38; 'to:addr:python-list': 0.38; 'explain': 0.39; 'does': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'called': 0.40; 'space': 0.40; 'simple': 0.61; 'first': 0.61; 'times': 0.62; 'email addr:gmail.com': 0.63; 'telling': 0.64; 'more': 0.64; 'due': 0.66; 'here': 0.66; 'draws': 0.84; 'subject::': 0.85; 'url:tk': 0.95
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dave Angel <davea@davea.name>
Subject Re:plotting slows down
Date Mon, 13 Jan 2014 08:26:11 -0500 (EST)
Organization news.gmane.org
References <4c51b5e8-e7b4-4a09-95d4-daefbfe27b28@googlegroups.com>
X-Gmane-NNTP-Posting-Host dpc6744192080.direcpc.com
X-Newsreader PiaoHong NewsGroups Reader 1.36
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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>
Newsgroups comp.lang.python
Message-ID <mailman.5403.1389619459.18130.python-list@python.org> (permalink)
Lines 38
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1389619459 news.xs4all.nl 2913 [2001:888:2000:d::a6]:40071
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:63825

Show key headers only | View raw


 norman.elliott@gmail.com Wrote in message:
> First let me say I have not done much python programming!
> I am running Python 2.7.3.
> I am trying to use python as a front end to a simple oscilloscope.
> Ultimately I intend to use it with my micropython board.
> 
> At the moment I am just developing it. All it does is use a module I found called graphics.py to create a window and display randomly generated data.
> 
> Each time it goes through the outer loop it gets slower and slower.
> I put in a small delay just so I could observe what is happening and for the first line it draws it takes about a second. If I set it to loop 20 times the final loop takes more than 6 seconds.
> Can anyone explain what I am doing wrong please?
> Here is the code:
> [code]
> #!/usr/bin/python
> from graphics import *

First things first. what operating system are you using,  and
 where did you get the mysterious graphics. py?  Thanks for
 telling us python 2.7.3

Next, please repost any source code with indentation preserved. 
 Your message shows it all flushed to the left margin,  probably
 due to posting in html mode. Use text mode here.

Finally,  since you seem to be using googlegroups,  please make
 sure you don't double space your quotes. See. wiki.python.org/moi
n/GoogleGroupsPython

> 

-- 
DaveA



----Android NewsGroup Reader----
http://www.piaohong.tk/newsgroup

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


Thread

plotting slows down norman.elliott@gmail.com - 2014-01-13 00:15 -0800
  Re:plotting slows down Dave Angel <davea@davea.name> - 2014-01-13 08:26 -0500
    Re:plotting slows down Steven D'Aprano <steve@pearwood.info> - 2014-01-13 20:33 +0000
      Re:plotting slows down Dave Angel <davea@davea.name> - 2014-01-14 04:39 -0500
      Re: plotting slows down Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-14 08:48 -0500
  Re: plotting slows down Norman Elliott <norman.elliott@gmail.com> - 2014-01-13 05:32 -0800
  Re: plotting slows down Norman Elliott <norman.elliott@gmail.com> - 2014-01-13 05:45 -0800
    Re: plotting slows down Dave Angel <davea@davea.name> - 2014-01-14 04:32 -0500
  Re: plotting slows down Ian Kelly <ian.g.kelly@gmail.com> - 2014-01-13 10:39 -0700
  Re: plotting slows down Chris Angelico <rosuav@gmail.com> - 2014-01-14 04:45 +1100
  Re: plotting slows down Dave Angel <davea@davea.name> - 2014-01-13 13:05 -0500
    Re: plotting slows down Norman Elliott <norman.elliott@gmail.com> - 2014-01-13 10:33 -0800
  Re: plotting slows down Ian Kelly <ian.g.kelly@gmail.com> - 2014-01-13 11:05 -0700
  Re: plotting slows down Terry Reedy <tjreedy@udel.edu> - 2014-01-13 16:42 -0500
  Re: plotting slows down Norman Elliott <norman.elliott@gmail.com> - 2014-01-14 05:04 -0800
    Re: plotting slows down Rustom Mody <rustompmody@gmail.com> - 2014-01-14 05:15 -0800
      Re: plotting slows down Chris Angelico <rosuav@gmail.com> - 2014-01-15 00:36 +1100
  Re: plotting slows down Norman Elliott <norman.elliott@gmail.com> - 2014-01-14 09:06 -0800

csiph-web