Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #59601

Re: Implementing #define macros similar to C on python

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Implementing #define macros similar to C on python
Date 2013-11-16 11:48 +0000
References <fae7479b-ecec-4114-9750-6595fa8c78fa@googlegroups.com> <mailman.2636.1384487396.18130.python-list@python.org> <69e7aee9-ad78-412e-9e1c-84b5a855acc9@googlegroups.com> <mailman.2693.1384561357.18130.python-list@python.org> <38b1fadd-bd6a-4722-8a0c-5c10586a718f@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.2711.1384602533.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Implementing #define macros similar to C on python JL <lightaiyee@gmail.com> - 2013-11-14 18:29 -0800
  Re: Implementing #define macros similar to C on python Dave Angel <davea@davea.name> - 2013-11-14 21:30 -0600
  Re: Implementing #define macros similar to C on python Chris Angelico <rosuav@gmail.com> - 2013-11-15 14:49 +1100
    Re: Implementing #define macros similar to C on python JL <lightaiyee@gmail.com> - 2013-11-15 15:36 -0800
      Re: Implementing #define macros similar to C on python Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2013-11-16 01:20 +0100
      Re: Implementing #define macros similar to C on python Terry Reedy <tjreedy@udel.edu> - 2013-11-15 19:22 -0500
      Re: Implementing #define macros similar to C on python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-16 00:22 +0000
        Re: Implementing #define macros similar to C on python JL <lightaiyee@gmail.com> - 2013-11-15 21:38 -0800
          Re: Implementing #define macros similar to C on python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-16 11:48 +0000
  Re: Implementing #define macros similar to C on python Roy Smith <roy@panix.com> - 2013-11-14 23:10 -0500
    Re: Implementing #define macros similar to C on python Chris Angelico <rosuav@gmail.com> - 2013-11-15 15:57 +1100
    Re: Implementing #define macros similar to C on python Serhiy Storchaka <storchaka@gmail.com> - 2013-11-16 12:02 +0200
  Re: Implementing #define macros similar to C on python Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2013-11-16 00:20 +0100

csiph-web