Re: [SPOILERS] Python easter eggs

2013-07-03 Thread alex23
On 4/07/2013 10:59 AM, Ben Finney wrote: Ian Kelly writes: import __hello__ Different between Python 2 and Python 3 — try it in both! Is it meant to imply that Py2 is weary while Py3 is still enthusiastic, or is that just my personal take? :) -- http://mail.python.org/mailman/listinfo/pyth

Re: [SPOILERS] Python easter eggs

2013-07-03 Thread Ben Finney
Ian Kelly writes: > from __future__ import barry_as_FLUFL Only works in Python 3 (raises a SyntaxError in Python 2). > import __hello__ Different between Python 2 and Python 3 — try it in both! -- \ “I spent all my money on a FAX machine. Now I can only FAX | `\

Re: [SPOILERS] Python easter eggs

2013-07-03 Thread Steven D'Aprano
On Wed, 03 Jul 2013 10:15:22 -0600, Ian Kelly wrote: > And in Jython there's: > > from __future__ import GIL Nice one! I didn't know about that! -- Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: [SPOILERS] Python easter eggs

2013-07-03 Thread Ian Kelly
On Wed, Jul 3, 2013 at 10:14 AM, Ian Kelly wrote: > On Wed, Jul 3, 2013 at 8:03 AM, Ian Foote wrote: >> On 03/07/13 14:29, Steven D'Aprano wrote: >>> >>> Most people are familiar with: >>> >>> import this >>> >>> >>> and sometimes even with: >>> >>> from __future__ import braces >>> >>> >>> But I

Re: [SPOILERS] Python easter eggs

2013-07-03 Thread Ian Kelly
On Wed, Jul 3, 2013 at 8:03 AM, Ian Foote wrote: > On 03/07/13 14:29, Steven D'Aprano wrote: >> >> Most people are familiar with: >> >> import this >> >> >> and sometimes even with: >> >> from __future__ import braces >> >> >> But I'm aware of at least three more. Anyone care to give them? >> >> >

Re: [SPOILERS] Python easter eggs

2013-07-03 Thread Chris Angelico
On Thu, Jul 4, 2013 at 12:03 AM, Ian Foote wrote: > import antigravity Having checked its docstring, I am now left wondering what I can do with the Munroe geohashing algorithm and if there's any way I could use that at work somehow. ChrisA -- http://mail.python.org/mailman/listinfo/python-list

Re: [SPOILERS] Python easter eggs

2013-07-03 Thread Ian Foote
On 03/07/13 14:29, Steven D'Aprano wrote: Most people are familiar with: import this and sometimes even with: from __future__ import braces But I'm aware of at least three more. Anyone care to give them? import antigravity Regards, Ian F -- http://mail.python.org/mailman/listinfo/pytho

[SPOILERS] Python easter eggs

2013-07-03 Thread Steven D'Aprano
Most people are familiar with: import this and sometimes even with: from __future__ import braces But I'm aware of at least three more. Anyone care to give them? -- Steven -- http://mail.python.org/mailman/listinfo/python-list