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


Groups > comp.lang.python > #8496

Re: Python basic program problem

Date 2011-06-27 02:24 -0500
From Andrew Berg <bahamutzero8825@gmail.com>
Subject Re: Python basic program problem
References <c07a7df7-0e26-4884-a237-cc0a1f148056@q14g2000prh.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.440.1309159473.1164.python-list@python.org> (permalink)

Show all headers | View raw


On 2011.06.27 02:05 AM, Amaninder Singh wrote:
> Hi,
> I am fairly new to python, I am trying to write simple code and It is
> giving me syntax error. I am reading a book and following the
> directions as it says in the book but I am not sure why it is not
> working.
Looks like the book you're reading is outdated and refers to Python 2.
In Python 3, print is a function:
print('Hello there')

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


Thread

Python basic program problem Amaninder Singh <asingh0412@gmail.com> - 2011-06-27 00:05 -0700
  Re: Python basic program problem Noah Hall <enalicho@gmail.com> - 2011-06-27 08:18 +0100
  Re: Python basic program problem Daniel Kluev <dan.kluev@gmail.com> - 2011-06-27 18:19 +1100
  Re: Python basic program problem Andrew Berg <bahamutzero8825@gmail.com> - 2011-06-27 02:24 -0500
  Re: Python basic program problem Noah Hall <enalicho@gmail.com> - 2011-06-27 22:28 +0100

csiph-web