Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: an error Date: Tue, 19 Jul 2016 16:45:01 +1000 Lines: 33 Message-ID: References: <175aeac6-b975-425b-b2b1-580a64ce0854@googlegroups.com> <6c990c11-c4b5-4ee8-8ee9-488bfe56784d@googlegroups.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: 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: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <175aeac6-b975-425b-b2b1-580a64ce0854@googlegroups.com> <6c990c11-c4b5-4ee8-8ee9-488bfe56784d@googlegroups.com> Xref: csiph.com comp.lang.python:111636 On Tue, Jul 19, 2016 at 4:37 PM, WePlayGames WeEnjoyIt wrote: > =CE=A4=CE=B7 =CE=A4=CF=81=CE=AF=CF=84=CE=B7, 19 =CE=99=CE=BF=CF=85=CE=BB= =CE=AF=CE=BF=CF=85 2016 - 9:32:34 =CF=80.=CE=BC. UTC+3, =CE=BF =CF=87=CF=81= =CE=AE=CF=83=CF=84=CE=B7=CF=82 Chris Angelico =CE=AD=CE=B3=CF=81=CE=B1=CF= =88=CE=B5: >> On Tue, Jul 19, 2016 at 4:26 PM, WePlayGames WeEnjoyIt >> wrote: >> > thanks chris for responding, it doesnt say anything else just syntax e= rror >> > it have seen this error again when im using the for loop and it seems = like when i delete everything after total+=3D1 i get a different error call= ed 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 shor= t 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