Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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; 'completeness': 0.07; 'restarting': 0.07; 'subject:help': 0.07; 'python': 0.09; 'here?': 0.09; 'received:155': 0.09; 'portion': 0.13; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'from:addr:jpmorgan.com': 0.16; 'received:155.180': 0.16; 'received:159.53': 0.16; 'received:169.70': 0.16; 'received:169.70.184': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:svr.bankone.net': 0.16; 'reproduce': 0.16; 'securities,': 0.16; 'subject:simple': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'usenet': 0.16; 'to:name:python- list@python.org': 0.20; 'bruce': 0.23; 'class.': 0.23; 'statement': 0.23; 'received:169.254': 0.24; 'idea': 0.24; 'command': 0.24; 'tried': 0.25; 'header:In-Reply-To:1': 0.25; 'plain': 0.27; 'accuracy': 0.27; 'instead.': 0.27; "doesn't": 0.28; 'run': 0.28; 'post': 0.28; 'received:169': 0.29; 'header:Received:8': 0.30; 'code': 0.31; 'problem.': 0.32; 'print': 0.32; 'function.': 0.33; 'wishes,': 0.33; 'to:addr :python-list': 0.33; 'text': 0.34; 'list': 0.35; 'subject:with': 0.36; 'bad': 0.37; 'does': 0.37; 'why': 0.37; 'subject:: ': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'where': 0.40; 'your': 0.60; 'easy': 0.60; 'information,': 0.63; 'url:email': 0.63; 'legal': 0.65; 'subject': 0.66; 'purchase': 0.67; 'receive': 0.71; 'sale': 0.76; 'received:169.254.8': 0.84; '\xa0also,': 0.84 X-DKIM: OpenDKIM Filter v2.1.3 sf2.jpmchase.com q7OJxZ3L011935 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpmorgan.com; s=smtpout; t=1345838375; bh=CaOSw+tlxnoUBgPA25ZrXX4v2bOwr0bl2hClh+FcaTs=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Transfer-Encoding:MIME-Version:Content-Type; b=rSI4SXnmTPjixf7ag8emqzR9pDLF9wdgUxOqfu3iMHezBkDCl9pawvFpMBKnhks78 XhpiIw83OoTZGU4UdsLyAVIz2pXZOLBONotUnFeQhQjfvtPBFIevLURvduahVOu5oe PW4dSpoR5frJt8hXLAMaW74PvwcKln8sZPnLVuZ8= From: "Prasad, Ramit" To: "python-list@python.org" Subject: RE: help with simple print statement! Thread-Topic: help with simple print statement! Thread-Index: AQHNgjEqNCXrN7vh6EG0H/Ht3fTKRpdpX1uA Date: Fri, 24 Aug 2012 19:59:12 +0000 References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.67.79.47] Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DLP-FWD: Yes Content-Type: text/plain; charset="iso-8859-1" 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1345838384 news.xs4all.nl 6949 [2001:888:2000:d::a6]:51905 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:27830 =0D=0AWillem Krayenhoff=0D=0AAny idea why print isn't working here? =A0=0D= =0A=0D=0AI tried restarting my Command prompt=2E =A0Also, print doesn't wor= k inside a class=2E=0D=0A=0D=0A=0D=0A-- =0D=0ABest Wishes,=0D=0A=0D=0A=A0 = =A0=A0 Bruce=0D=0A=A0 =A0=A0 C: 604-441-5791=0D=0A=A0 =A0 =A0My Availabilit= y=A0=0D=0A=0D=0A=0D=0A=0D=0AJust as a note, this is a usenet group that can= be accessed via email; a good portion of the people on the list does not r= eceive attachments and images=2E HTML is also a bad format as it mangles co= de so please post in plain text and copy/paste from the command line instea= d of using screenshots=2E It will be easy for us to run your code if neces= sary to reproduce the results=2E=0D=0A=0D=0ANow on to your problem=2E You a= re using Python 3 where print was turned from a statement into a function= =2E You need to use the following instead=2E =0D=0A=0D=0Aprint('34ki') =0D= =0Aprint(6)=0D=0AThis email is confidential and subject to important discla= imers and=0D=0Aconditions including on offers for the purchase or sale of= =0D=0Asecurities, accuracy and completeness of information, viruses,=0D=0Ac= onfidentiality, legal privilege, and legal entity disclaimers,=0D=0Aavailab= le at http://www=2Ejpmorgan=2Ecom/pages/disclosures/email=2E