Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28863
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <krecoun@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.034 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'python': 0.09; 'events.': 0.09; '2.7.3': 0.16; 'pygame': 0.16; 'pygame.': 0.16; 'subject:Pygame': 0.16; 'subject:when': 0.16; 'subject:windows': 0.16; 'true:': 0.16; 'windows': 0.19; 'keyboard': 0.22; 'header :User-Agent:1': 0.26; 'received:209.85.212': 0.28; 'code': 0.31; 'running': 0.32; 'ubuntu': 0.33; 'anyone': 0.33; 'to:addr:python- list': 0.33; 'me?': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'compared': 0.35; 'received:209.85': 0.35; 'message- id:@gmail.com': 0.36; 'should': 0.36; 'thank': 0.36; 'quite': 0.37; 'received:209': 0.37; 'to:addr:python.org': 0.39; 'notice': 0.39; 'header:Received:5': 0.40; 'help': 0.40; 'skip:n 10': 0.63; 'subject:events': 0.84; 'visually': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=qL7DArKkKiftzlcPVXD0ru1H3Wzu46GGKP4RqK4eg4o=; b=AxRokd/ciOT5i1zvFT7dlGBoYgUDuPgyKAEseY5j02D33/zaJSIL77OgVsfx3+4yg/ QaSF+0tPnAWBzYI77DJoHE2GaiwcuoWIlyWp2wkUB89/yfG61ni+IeBAPsitAFXX1dap srYP16beyMgWMPysotEGGwynJHfFmMi2A22k41mRGD8wS06JUOHZgvw9OEcPEnuJrXYm xHNWlglAD1qJASNIZS7KrSGzawVMLuVEeChVVN4BH5Nvaw7CfnA4oGRN1+xdkUAOSQcg Fuw/PhM4Osb8Qyw2BlXE8zcW0TX8kPxTNZ9zdWTFwaIphg0SRsY1/AH095sAcAtZd2BV rlFw== |
| Date | Tue, 11 Sep 2012 00:25:13 +0200 |
| From | Vojtěch Polášek <krecoun@gmail.com> |
| User-Agent | Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | delay on windows when processing Pygame events |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| 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 | <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.472.1347315918.27098.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1347315918 news.xs4all.nl 6906 [2001:888:2000:d::a6]:33688 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:28863 |
Show key headers only | View raw
Greetings,
I am writing a simple game for visually impaired in pygame. I use this
construction:
while running == True:
for event in pygame.event.get():
if event.type == blahblahblah, #processing various events
blahblahblah, contiuing the code after events are analysed
I am looking mainly for keyboard events. I notice a quite nonnegligible
lag when running this under Windows XP, when compared to the same code
on Ubuntu 12.04.
Python and pygame version should be the same:
Python 2.7.3
pygame 1.9.1
Can anyone please help me?
Thank you,
Vojta
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
delay on windows when processing Pygame events Vojtěch Polášek <krecoun@gmail.com> - 2012-09-11 00:25 +0200
csiph-web