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


Groups > comp.lang.python > #111636

Re: an error

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: an error
Date Tue, 19 Jul 2016 16:45:01 +1000
Lines 33
Message-ID <mailman.86.1468910710.2307.python-list@python.org> (permalink)
References <175aeac6-b975-425b-b2b1-580a64ce0854@googlegroups.com> <CAPTjJmptaBQ9wO=3AEHRZ5m700TouB9Z2h8SSiuRSQwLX7Z0pA@mail.gmail.com> <mailman.83.1468909207.2307.python-list@python.org> <6c990c11-c4b5-4ee8-8ee9-488bfe56784d@googlegroups.com> <CAPTjJmpoZfrQ24Roz-EFA1U-eABdwvWuuijBFX0ep56_scD=GQ@mail.gmail.com> <mailman.85.1468909943.2307.python-list@python.org> <ebfcd881-528e-4e3e-9f96-da65a4ae1450@googlegroups.com> <CAPTjJmp-Fd4fJ_dbpZVNOJMEDOQ8gwxiMFDym4MYPnOS+ykTLA@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de JSXj+IXuT50aq8Arb1nGPAG2m4/pDUktCaZARK651z6w==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.014
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'eof': 0.09; 'happens.': 0.09; 'unexpected': 0.09; 'python': 0.10; 'subject:error': 0.11; 'syntax': 0.13; '2016': 0.16; 'doesnt': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'pygame': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'tracebacks': 0.16; 'wrote:': 0.16; 'load': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'essential': 0.20; 'parsing': 0.22; 'code,': 0.23; 'seems': 0.23; 'errors': 0.23; 'forgot': 0.23; 'header:In-Reply-To:1': 0.24; 'appear': 0.26; 'chris': 0.26; 'error': 0.27; 'message- id:@mail.gmail.com': 0.27; 'screen.': 0.29; 'window': 0.30; 'says': 0.32; 'problem': 0.33; 'tue,': 0.34; 'received:google.com': 0.35; 'but': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'say': 0.37; 'thanks': 0.37; 'delete': 0.38; 'anything': 0.38; 'why': 0.39; 'sure': 0.39; 'called': 0.40; 'your': 0.60; 'close': 0.61; 'more': 0.63; 'different': 0.63; 'dont': 0.64; 'story': 0.65; '8bit%:100': 0.70; 'picture': 0.70; 'jul': 0.72; '8bit%:92': 0.72; '4:26': 0.84; 'chrisa': 0.84; 'to:none': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc :content-transfer-encoding; bh=zN1GRe+3SC3cnZQV3kIIuz99W1K2infLmuAqAyu+S+Y=; b=0mNl2EnUEnbB4b7sCDGFuK6k2oa/PTUKRAJKpRIjaryouIgfbNbM9lrHLvGU1B/kCl h7TTsjEjov5e+B+9h1uF1X8bVZLL2wipGQS5ku89P3cF6uiXQipKyn3RFyXxYAhpFPS5 XwLI1jQ66qlzesrLX6dh83i6Lfj2PESO2/NsxMptvdOvliFl5LWdTqgEjcrDP3juZWch qveC9WiZ9CG19s4Ue7nYMcYUQaQPp2OqVzcxUZbcOjEOcqS4ULYjrPlcXqsHcLKa0A+q V+MQHb2dxaG2zw5f04aTRlkZW7wVtTjZ4yv4Cio7PUU4MLnXtrEyZWwSC6tjhitnN5Oh SRxw==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc:content-transfer-encoding; bh=zN1GRe+3SC3cnZQV3kIIuz99W1K2infLmuAqAyu+S+Y=; b=LUliQlrv+l0LmkGqS9BdWrnXCI7Xpkpsl3UYfo8WQx6hlcV1971vg4E0gzA9uNcKSG QMPpfCvDv7ZzeihRfNwDPj0ebN5I0vSnCth7+UIjve6+Rv/4uxCDDpZsXqQjSsP2M6FU pgE0SPcium7glAM5JqQsyJ5KrTlvATflDJOXMshYfdILPOur4yKymK+m+1Et6fvFebC/ rPUR2R4t4czzTsciDRkRkqHjjoLO9f9Yv8Mx+kLO5GJRQ5yaMTKgE1erk0aD/h/LKBx9 OOVJZOv2udmQhD+/h+W7rxWeoYdxyEoJvzH+Xi0zMVAfneWaKBCsIRTuUO9tcCAqxbeX Th+w==
X-Gm-Message-State ALyK8tIUg/t8BML3Rm8xVjTbjSRZnYiOBgi1jBS4HKIYIGn+a8boUQuVacrbp/DXFBmeYz8wn0LzDBHgXyrUtg==
X-Received by 10.28.41.195 with SMTP id p186mr1959886wmp.41.1468910702256; Mon, 18 Jul 2016 23:45:02 -0700 (PDT)
In-Reply-To <ebfcd881-528e-4e3e-9f96-da65a4ae1450@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
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>
X-Mailman-Original-Message-ID <CAPTjJmp-Fd4fJ_dbpZVNOJMEDOQ8gwxiMFDym4MYPnOS+ykTLA@mail.gmail.com>
X-Mailman-Original-References <175aeac6-b975-425b-b2b1-580a64ce0854@googlegroups.com> <CAPTjJmptaBQ9wO=3AEHRZ5m700TouB9Z2h8SSiuRSQwLX7Z0pA@mail.gmail.com> <mailman.83.1468909207.2307.python-list@python.org> <6c990c11-c4b5-4ee8-8ee9-488bfe56784d@googlegroups.com> <CAPTjJmpoZfrQ24Roz-EFA1U-eABdwvWuuijBFX0ep56_scD=GQ@mail.gmail.com> <mailman.85.1468909943.2307.python-list@python.org> <ebfcd881-528e-4e3e-9f96-da65a4ae1450@googlegroups.com>
Xref csiph.com comp.lang.python:111636

Show key headers only | View raw


On Tue, Jul 19, 2016 at 4:37 PM, WePlayGames WeEnjoyIt
<crazyguyplaying13@gmail.com> wrote:
> Τη Τρίτη, 19 Ιουλίου 2016 - 9:32:34 π.μ. UTC+3, ο χρήστης Chris Angelico έγραψε:
>> On Tue, Jul 19, 2016 at 4:26 PM, WePlayGames WeEnjoyIt
>> <crazyguyplaying13@gmail.com> wrote:
>> > thanks chris for responding, it doesnt say anything else just syntax error
>> > it have seen this error again when im using the for loop and it seems like when i delete everything after total+=1 i get a different error called UNEXPECTED EOF WHILE PARSING
>>
>> Are you sure it says nothing else? Copy and paste exactly what happens
>> when you type "python3 yourgamename.py".
>>
>> Exactly what happens.
>>
>> ChrisA
>
> ITS OK the problem was solved i forgot to close the thingy like ian said but now i got more problems ( not errors however). like i know how to load and blit a picture in my pygame window but i dont know why it wont work in this code, like nothing is actually appearing in my screen. long story short what i want to happend is image1 to appear in but it doesnt
>

It's important not just to solve your problem, but to learn *how* to
solve problems. Learning to read tracebacks is essential to being a
Python programmer.

ChrisA

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


Thread

an error WePlayGames WeEnjoyIt <crazyguyplaying13@gmail.com> - 2016-07-18 23:07 -0700
  Re: an error Chris Angelico <rosuav@gmail.com> - 2016-07-19 16:20 +1000
    Re: an error WePlayGames WeEnjoyIt <crazyguyplaying13@gmail.com> - 2016-07-18 23:26 -0700
      Re: an error Chris Angelico <rosuav@gmail.com> - 2016-07-19 16:32 +1000
        Re: an error WePlayGames WeEnjoyIt <crazyguyplaying13@gmail.com> - 2016-07-18 23:37 -0700
          Re: an error Chris Angelico <rosuav@gmail.com> - 2016-07-19 16:45 +1000
  Re: an error Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-19 00:20 -0600
  Re: an error Terry Reedy <tjreedy@udel.edu> - 2016-07-19 05:12 -0400
  Re: an error Laurent Pointal <laurent.pointal@free.fr> - 2016-07-19 19:24 +0200

csiph-web