Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'syntax': 0.04; 'subject:Python': 0.06; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'instead:': 0.16; 'wrote:': 0.18; 'command': 0.22; 'example': 0.22; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'print': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'getting': 0.31; 'url:python': 0.33; 'running': 0.33; 'subject:the': 0.34; 'something': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:org': 0.36; 'error.': 0.37; 'url:3': 0.61; "you're": 0.61; 'first': 0.61; 'book,': 0.68; 'feeling': 0.68; 'pdf.': 0.84; 'url:imgur': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=ByKUbyae8RHByIZ9/OFOBne1C5I2/kmNfqWNjzo16+8=; b=V841v56R0oZHUTmduH/KleC3BB/YqC+BHOVHdqXBKHD6bshbv6JB0is6YGkX8qkEsQ NhmBWOgzFkxfDoSJ0wtLXqkVxJUigbfUHZploBJqE9f3qMtnXv/Xwi0Bt3rQXeRlZiw+ tEdJTv5M6ppQlaLJdVymD+4uRMopN11vcWqxhGCaTd6elwQLxyzKGApbq2LjqUAA9kVA oYnHKfg5WmpFK56V3B9P1ozML2t5XZPSWG+4ldQpmmhpDs8WwDtvLbpSPANK1Bq/R3Qr /V75vBkLhmugNDZWFohnOJW2GngQ1bcITfAYa3r6QUai63Bv0PSBarbCqOg6/GYfUD/3 /O8A== MIME-Version: 1.0 X-Received: by 10.50.80.76 with SMTP id p12mr21943216igx.34.1407018615857; Sat, 02 Aug 2014 15:30:15 -0700 (PDT) In-Reply-To: References: Date: Sun, 3 Aug 2014 08:30:15 +1000 Subject: Re: Python Programing for the Absoulte Beginner From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1407018625 news.xs4all.nl 2978 [2001:888:2000:d::a6]:45131 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:75554 On Sun, Aug 3, 2014 at 8:13 AM, Seymore4Head wrote: > https://www.google.com/webhp?hl=en&tab=ww&gws_rd=ssl#hl=en&q=python+programing+for+the+absolute+beginner > > There is a book listed as a PDF. > > When I try the first example of print "Game Over" I get a syntax > error. > > I have tried running the command line and the GUI. I get the feeling > there is something else I need to run. > > http://imgur.com/RH3yczP Try this instead: print("Game Over") You're looking at a Python 2 book, and you're running Python 3. I would recommend instead getting a Python 3 tutorial: https://docs.python.org/3/tutorial/ ChrisA