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

Re: Easter Eggs

2010-02-25 Thread Aahz
In article , mk wrote: >On 2010-02-25 03:04, Gabriel Genellina wrote: >> >> Also try: >> import antigravity > >Is this Py3 egg? My 2.6 doesn't seem to get it. Maybe 2.7 will have it; 3.0.1 does. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "Many customs in t

Re: Easter Eggs

2010-02-25 Thread mk
On 2010-02-25 03:04, Gabriel Genellina wrote: Also try: import antigravity Is this Py3 egg? My 2.6 doesn't seem to get it. Regards, mk -- http://mail.python.org/mailman/listinfo/python-list

Re: Easter Eggs

2010-02-24 Thread Gabriel Genellina
En Tue, 09 Feb 2010 20:40:50 -0300, Alf P. Steinbach escribió: I know 3 Python Easter Eggs, from __future__ import braces import this help( "antigravity" ) Are there more? Also try: import antigravity -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list

Re: Easter Eggs

2010-02-10 Thread rantingrick
On Feb 9, 5:40 pm, "Alf P. Steinbach" wrote: > I know 3 Python Easter Eggs, > >    from __future__ import braces >    import this >    help( "antigravity" ) > > Are there more? > > Cheers, > > - Alf Oh this is just great ALF! Now what secr

Easter Eggs

2010-02-09 Thread Alf P. Steinbach
I know 3 Python Easter Eggs, from __future__ import braces import this help( "antigravity" ) Are there more? Cheers, - Alf -- http://mail.python.org/mailman/listinfo/python-list