Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #8496
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <bahamutzero8825@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python,': 0.01; 'directions': 0.04; 'subject:Python': 0.06; 'python': 0.08; 'function:': 0.09; 'syntax': 0.11; 'am,': 0.13; 'wrote:': 0.15; 'received:209.85.210.174': 0.19; 'received:mail- iy0-f174.google.com': 0.19; 'singh': 0.19; 'working.': 0.19; 'subject:problem': 0.19; 'header:In-Reply-To:1': 0.22; 'trying': 0.23; 'refers': 0.23; 'code': 0.24; 'says': 0.25; 'fairly': 0.30; 'hi,': 0.30; 'looks': 0.30; 'print': 0.32; 'message- id:@gmail.com': 0.32; 'header:User-Agent:1': 0.34; 'to:addr :python-list': 0.34; 'error.': 0.36; 'received:google.com': 0.37; 'but': 0.37; 'received:209.85': 0.38; 'received:192': 0.38; 'subject:: ': 0.38; 'received:192.168.1': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'subject:program': 0.67; 'received:192.168.1.19': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=JucQq3X70I7yNC5YAxJlW44y7gKeooBGOvzQSN8WEBY=; b=VstY16i6/LewZ43sG6471yBJH2kEWETQTHIRDrqDo+wsYuAwROgHfZ8XDdH5cVKiKU 20ZrZqMfRwlQuShQPLxP3VbKkw5Lco2KbDjJELhWP0uNbI7NhApQhisphHfGGUvR80vv BJ0pZ8/Ld0GIK3LT5+wbjbH5LHIwujGP9WC7g= |
| DomainKey-Signature | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=ZOe+ffsnYgIFsynWyadqiktvjqAriqzYfMXvhwqRolv2iOMWKCaHKDwcZkszdodi27 C7L0LnPFEuv//fp2qBXp87QkPF5z6TA+c+/B8nkdQvA15UAbwMGMbrIfFrMljqGleASF hSOcQ00J/yRCh2ppAjCqq6TnHc29vCK0BXjzY= |
| Date | Mon, 27 Jun 2011 02:24:20 -0500 |
| From | Andrew Berg <bahamutzero8825@gmail.com> |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 ThunderBrowse/3.3.5 |
| MIME-Version | 1.0 |
| To | "comp.lang.python" <python-list@python.org> |
| Subject | Re: Python basic program problem |
| References | <c07a7df7-0e26-4884-a237-cc0a1f148056@q14g2000prh.googlegroups.com> |
| In-Reply-To | <c07a7df7-0e26-4884-a237-cc0a1f148056@q14g2000prh.googlegroups.com> |
| X-Enigmail-Version | 1.1.1 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.440.1309159473.1164.python-list@python.org> (permalink) |
| Lines | 9 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1309159473 news.xs4all.nl 4352 [::ffff:82.94.164.166]:42582 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:8496 |
Show key headers only | 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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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