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


Groups > comp.lang.python > #75554

Re: Python Programing for the Absoulte Beginner

References <c6oqt956g33bcass8ch5p8r8m12tjoujet@4ax.com>
Date 2014-08-03 08:30 +1000
Subject Re: Python Programing for the Absoulte Beginner
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.12554.1407018625.18130.python-list@python.org> (permalink)

Show all headers | 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