Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.01; 'directions': 0.04; 'subject:Python': 0.06; 'through.': 0.09; 'syntax': 0.11; 'url:moin': 0.12; 'am,': 0.13; 'wrote:': 0.15; 'tutorial.': 0.16; 'two?': 0.16; 'url:python2orpython3': 0.16; 'pm,': 0.16; '>>>': 0.16; 'mon,': 0.17; 'suggest': 0.17; '2.x': 0.19; 'singh': 0.19; 'to:name:python-list': 0.19; 'working.': 0.19; 'subject:problem': 0.19; 'received:74.125.82.174': 0.19; 'received:mail-wy0-f174.google.com': 0.19; 'cc:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'trying': 0.23; 'code': 0.24; 'says': 0.25; 'url:wiki': 0.25; 'hall': 0.26; 'message- id:@mail.gmail.com': 0.28; '3.0': 0.28; 'version,': 0.28; '27,': 0.29; 'cc:addr:gmail.com': 0.30; 'fairly': 0.30; '3.x': 0.30; 'lot.': 0.30; 'hi,': 0.30; 'looks': 0.30; 'difference': 0.34; 'to:addr:python-list': 0.34; 'quite': 0.34; 'version.': 0.35; 'url:python': 0.36; 'error.': 0.36; 'received:google.com': 0.37; 'but': 0.37; 'using': 0.38; 'url:org': 0.38; 'think': 0.38; 'subject:: ': 0.38; 'help': 0.39; 'received:74.125.82': 0.39; 'to:addr:python.org': 0.39; 'appreciated.': 0.40; 'received:74.125': 0.40; 'your': 0.61; '26,': 0.67; 'jun': 0.67; 'subject:program': 0.67; '11:18': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=D2IBUrLY1YeBo9v5zTeGOERto3RQyIWvGdSe7QnJ6Dc=; b=uUEgZ7eeexKg/4m7/B8U9JR+gye42EmZW69eVX05/897NsDAV8S5veSE+7UtBf5yrp p+PXK0GpyU/+vnaOAx9AX1zgbVAI38cQDG7H77j8EmfUYLQ3iAzFvLdg4ZbXaPRZnMqE y1Uf7eLmGwJlgAzrJOGnteGP04rs9rDePYYZM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=fWAPh7lesONIeJhM8eOLo6iqDza0lxiDo9Du6N5ZB+Ch3V7xGmNz4JuGzKJ8xlVPq7 5jqJNQvi9VqczCB516DEXaywHU2It8/hDERL89HYmUvIE3estkwL3T0os6gtAJQ159RU 3H/rtpiz//RbepMPFZfgzbcmwgbSFWItV1nQM= MIME-Version: 1.0 In-Reply-To: <6098757B-3D86-4D77-A8A0-16448B74CC39@gmail.com> References: <6098757B-3D86-4D77-A8A0-16448B74CC39@gmail.com> From: Noah Hall Date: Mon, 27 Jun 2011 22:28:07 +0100 Subject: Re: Python basic program problem To: python-list Content-Type: text/plain; charset=ISO-8859-1 Cc: Amaninder Singh X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 15 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1309210580 news.xs4all.nl 4360 [::ffff:82.94.164.166]:59054 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8516 On Mon, Jun 27, 2011 at 11:18 PM, Amaninder Singh wrote: > Yes, I think I am using 3.0 version. So how much difference is in between these two? > On Jun 26, 2011, at 11:18 PM, Noah Hall wrote: >> On Mon, Jun 27, 2011 at 8: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. Please guide me through. Any help appreciated. >> Looks like you're using the 3.x version, while your guide is 2.x. I >> suggest you download the 2.x version, or find a new tutorial. Well, quite a lot. Read this - http://wiki.python.org/moin/Python2orPython3 to get a better picture.