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


Groups > comp.lang.python > #75554

Re: Python Programing for the Absoulte Beginner

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 <rosuav@gmail.com>
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 <c6oqt956g33bcass8ch5p8r8m12tjoujet@4ax.com>
References <c6oqt956g33bcass8ch5p8r8m12tjoujet@4ax.com>
Date Sun, 3 Aug 2014 08:30:15 +1000
Subject Re: Python Programing for the Absoulte Beginner
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <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>
Newsgroups comp.lang.python
Message-ID <mailman.12554.1407018625.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Sun, Aug 3, 2014 at 8:13 AM, Seymore4Head
<Seymore4Head@hotmail.invalid> 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

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


Thread

Python Programing for the Absoulte Beginner Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-02 18:13 -0400
  Re: Python Programing for the Absoulte Beginner Chris Angelico <rosuav@gmail.com> - 2014-08-03 08:30 +1000
    Re: Python Programing for the Absoulte Beginner Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-02 18:39 -0400
    Re: Python Programing for the Absoulte Beginner Steve Hayes <hayesstw@telkomsa.net> - 2014-08-03 07:11 +0200
      Re: Python Programing for the Absoulte Beginner Chris Angelico <rosuav@gmail.com> - 2014-08-03 15:12 +1000
        Re: Python Programing for the Absoulte Beginner Steve Hayes <hayesstw@telkomsa.net> - 2014-08-03 07:20 +0200
          Re: Python Programing for the Absoulte Beginner memilanuk <memilanuk@gmail.com> - 2014-08-02 22:31 -0700
          Re: Python Programing for the Absoulte Beginner Chris Angelico <rosuav@gmail.com> - 2014-08-03 15:43 +1000
          Re: Python Programing for the Absoulte Beginner Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-03 18:09 +1000
            Re: Python Programing for the Absoulte Beginner Bob Martin <bob.martin@excite.com> - 2014-08-04 07:30 +0100
              Re: Python Programing for the Absoulte Beginner Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-04 08:04 +0100
              Re: Python Programing for the Absoulte Beginner Chris Angelico <rosuav@gmail.com> - 2014-08-05 00:38 +1000
  Re: Python Programing for the Absoulte Beginner Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-02 23:31 +0100
    Re: Python Programing for the Absoulte Beginner Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-02 18:41 -0400
      Re: Python Programing for the Absoulte Beginner Chris Angelico <rosuav@gmail.com> - 2014-08-03 08:55 +1000

csiph-web