Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed2.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '16,': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tismer': 0.09; 'python': 0.11; '__future__': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'spacing': 0.16; 'subject:python': 0.16; 'prevent': 0.16; 'language': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'thanks.': 0.20; 'programming': 0.22; 'import': 0.22; 'print': 0.22; 'header:User-Agent:1': 0.23; 'url:moin': 0.24; 'shown': 0.26; 'second': 0.26; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'statement': 0.30; 'code': 0.31; 'posting': 0.31; 'url:wiki': 0.31; 'post.': 0.31; 'url:python': 0.33; 'problem.': 0.35; 'tool': 0.35; 'but': 0.35; 'url:org': 0.36; 'should': 0.36; 'christian': 0.38; 'thank': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'received:org': 0.40; 'read': 0.60; 'above,': 0.60; 'hope': 0.61; 'matter': 0.61; 'world.': 0.61; 'kind': 0.63; 'yes': 0.68; 'subject: #': 0.96; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Implementing #define macros similar to C on python Date: Sat, 16 Nov 2013 11:48:45 +0000 References: <69e7aee9-ad78-412e-9e1c-84b5a855acc9@googlegroups.com> <38b1fadd-bd6a-4722-8a0c-5c10586a718f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-147-178-128.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: <38b1fadd-bd6a-4722-8a0c-5c10586a718f@googlegroups.com> 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1384602533 news.xs4all.nl 15985 [2001:888:2000:d::a6]:50598 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:59601 On 16/11/2013 05:38, JL wrote: > On Saturday, November 16, 2013 8:22:25 AM UTC+8, Mark Lawrence wrote: > >> Yes but please don't top post. Actually print is a statement in Python >> 2 so your code should work if you use >> from __future__ import print_function >> at the top of your code. >> Would you also be kind enough to read and action this >> https://wiki.python.org/moin/GoogleGroupsPython to prevent the double >> line spacing shown above, thanks. > > Thank you for the tip. Will try that out. Hope I get the posting etiquette right this time. > No problem. It's not a matter of etiquette, it's using a tool that's not flawed :) -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence