Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:question': 0.08; 'python': 0.09; 'happens.': 0.09; 'sep': 0.09; 'language,': 0.11; '2.7': 0.13; 'declaration': 0.16; 'easier.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'think?': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'received:209.85.214.174': 0.21; '3.x': 0.22; 'seems': 0.23; 'specifically': 0.24; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; "i'm": 0.29; 'switch': 0.32; 'to:addr:python-list': 0.33; 'likely': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'stable': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'really': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'planning': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'little': 0.39; 'header:Received:5': 0.40; 'more': 0.63 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=mPBoYg0LbONrFGbw8ga7dMnwN1PBht0b+c1p9fO+2oc=; b=pJ+dvlG75tibFn+HSXju/QuNLw5Pkskf4Vvn1mORey7pzAGkc6GgVKNBVt0RNZOAqm cTOvhGshdiTq233aw9Pfg3aK21SWSzLZA+XFFGcEZ32JvNbm4xak7ma3YHCl4/sAkDnS f4+TNusv6sFQtx4RwuOMVoYiabN7URIRBZ2leHS3G8lgMVmH33V5z0cDToweFIJz/XyJ moidMneD+sarXvue7mqZ4bKH13+UlKjrTfprJZUO8ScGlWsSXhv8PKuA9Nfy4Hv9hlTz okCl03EFY9b7mY5+AVbcYJKc4zhZhsQS13nwjN7x4+grw1YcnQuy2izWpF7BT84nf84Y 5zhg== MIME-Version: 1.0 In-Reply-To: <680feff1-8d8e-4f6d-8521-1e875479d1f7@k9g2000pbr.googlegroups.com> References: <680feff1-8d8e-4f6d-8521-1e875479d1f7@k9g2000pbr.googlegroups.com> Date: Mon, 3 Sep 2012 07:47:47 +1000 Subject: Re: newbie ``print`` question From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346622469 news.xs4all.nl 6919 [2001:888:2000:d::a6]:54934 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28324 On Mon, Sep 3, 2012 at 7:18 AM, gwhite wrote: > Thanks again, Terry. There is a lot to the language, I am finding > out. I am a HW engineer, not really a programmer. Python seems a lot > more sophisticated than MATLAB. > > I'm kinda thinking `write` is likely to be a little more "stable" than > `print` (if that is the right characterization) when my eventual > switch from 2.7 to 3.x happens. You think? If you're planning to switch, make use of __future__. It's specifically to make that job easier. Once you have a future declaration at the top, print() will be stable across 2.7 and 3.x. ChrisA