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:20:04 +1000 Lines: 11 Message-ID: References: <175aeac6-b975-425b-b2b1-580a64ce0854@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de RBl9Ufpouia5hwVQcCN4tAFLBh9pRiTCjRUJeBE/rMZA== 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; 'python': 0.10; 'subject:error': 0.11; 'syntax': 0.13; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'this).': 0.16; 'wrote:': 0.16; 'tells': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'errors': 0.23; 'header:In-Reply- To:1': 0.24; "doesn't": 0.26; 'error': 0.27; 'message- id:@mail.gmail.com': 0.27; 'useful': 0.33; 'problem': 0.33; 'errors,': 0.33; 'tue,': 0.34; 'gives': 0.35; 'received:google.com': 0.35; 'there': 0.36; 'possible': 0.36; '(and': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'delete': 0.38; 'end': 0.39; 'here.': 0.62; 'jul': 0.72; '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; bh=vVIgjmRAI8Do2nw+scj2IMPib03aq3ucblzd12X2JpM=; b=BeBNmadPDai0AEKygDYu+6P5pdx9hpTsfEsbT0YhZQQ+l/1kxstVq0tNds982rRQYa okAMcbBNUkBaExbK7mbFZcxpOZGvEBWQHH57oubsonyts9zxMHW7xBKQHz3iL5Bd6G87 raPFZzcfEQgU11/s1oU4k2OB3+4Z/0RaTAumbB575TQ2BHIuCuiudRMDuL9x1mLOWvHX QzsvzBQsA/8Oh/cFROIjWOsGY19yT4QWeaA7uVY4+llJleD1BqlEURYMSd71twvnapbi Cs39OLD35bNJJ3kXLsrq314TDNniLyC8wLSaXVurSgHnmlxVSaZfkU4wRL5JnWUoSvbW kADg== 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; bh=vVIgjmRAI8Do2nw+scj2IMPib03aq3ucblzd12X2JpM=; b=NkCKAvwUihjwzQrZx0VmnTewAWwYbf1agJ2uBTdbk87xyXGxQpEgtaOsO+F61nJqMH m0oZ69ZL1F+t7IRkExgBN48wD0I2bJe5kCnPRSidSauNt/l0sAzmEXfOTjXPENhtKXVU pMWKsn9ctWPQCxVVA+t8UFUAvrxptqGv9NEXCvzG7ZUmXQU7zNoakoMIVciZyqJMdgBV s8ccaN2eQzP1OD7Jhvb4IAMJz+UJJsIMWxU1KE1WKOJo/eoSUzFuxHWusFy2/u74QHh2 YGlH+WNW6ozckC6x3GgPcYpKWfa+vudUownwTW1vrfFVvf0wXJYPjDRThvJWrSAo2Ryj 4ypQ== X-Gm-Message-State: ALyK8tJZVq43RwuCcy3x5DXAMrgi1ESsH6kYRkWRohvz8C4Un71feopmTc1g+FdXXziAHf5vzHPltHTYajzp7g== X-Received: by 10.194.172.232 with SMTP id bf8mr4845463wjc.47.1468909204605; Mon, 18 Jul 2016 23:20:04 -0700 (PDT) In-Reply-To: <175aeac6-b975-425b-b2b1-580a64ce0854@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 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> Xref: csiph.com comp.lang.python:111631 On Tue, Jul 19, 2016 at 4:07 PM, WePlayGames WeEnjoyIt wrote: > the problem with this is that i get an syntax error at the very end at the TOTAL+=1 when i delete this it tells me that there is an error at the clockfps.tick(fps) thing what the heck is going on :p > When you get an error, Python gives you a very useful error message (and traceback, although that doesn't apply to syntax errors like this). Copy and paste that here. There are many possible syntax errors, and Python will tell you which one. ChrisA