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


Groups > comp.lang.python > #49789

Re: [SPOILERS] Python easter eggs

From Ben Finney <ben+python@benfinney.id.au>
Subject Re: [SPOILERS] Python easter eggs
Date 2013-07-04 10:59 +1000
References <51d4272a$0$29999$c3e8da3$5496439d@news.astraweb.com> <51D42F22.7060300@feete.org> <CALwzidnQH=URYFPHNkk-NAyWJPGsAyo0yLkOm9-vW60+ToGTDQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4194.1372899576.3114.python-list@python.org> (permalink)

Show all headers | View raw


Ian Kelly <ian.g.kelly@gmail.com> 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 |
  `\                                          collect.” —Steven Wright |
_o__)                                                                  |
Ben Finney

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


Thread

[SPOILERS] Python easter eggs Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-03 13:29 +0000
  Re: [SPOILERS] Python easter eggs Ian Foote <ian@feete.org> - 2013-07-03 15:03 +0100
  Re: [SPOILERS] Python easter eggs Chris Angelico <rosuav@gmail.com> - 2013-07-04 00:11 +1000
  Re: [SPOILERS] Python easter eggs Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-03 10:14 -0600
  Re: [SPOILERS] Python easter eggs Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-03 10:15 -0600
    Re: [SPOILERS] Python easter eggs Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-03 17:22 +0000
  Re: [SPOILERS] Python easter eggs Ben Finney <ben+python@benfinney.id.au> - 2013-07-04 10:59 +1000
    Re: [SPOILERS] Python easter eggs alex23 <wuwei23@gmail.com> - 2013-07-04 11:35 +1000

csiph-web