Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1a.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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'skip:[ 20': 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; 'language.': 0.14; '(lambda': 0.16; 'lambda': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'throw': 0.16; 'language': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'skip:_ 20': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'skip:( 40': 0.30; "d'aprano": 0.31; 'steven': 0.31; 'url:06': 0.31; 'blog:': 0.33; 'ben': 0.38; 'skip:[ 10': 0.38; 'to:addr :python-list': 0.38; 'skip:_ 30': 0.39; 'url:01': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'our': 0.64; 'total': 0.65; 'charset:windows-1252': 0.65; 'subject:Hello': 0.72; '___': 0.84; 'url:2014': 0.84; 'subject:World': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Hello World Date: Sat, 20 Dec 2014 16:13:28 +0000 References: <54957226$0$12975$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-146-7-127.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 In-Reply-To: <54957226$0$12975$c3e8da3$5496439d@news.astraweb.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: 63 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1419092031 news.xs4all.nl 2891 [2001:888:2000:d::a6]:34362 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82699 On 20/12/2014 12:57, Steven D'Aprano wrote: > Taken from Ben Kurtovic's blog: > > http://benkurtovic.com/2014/06/01/obfuscating-hello-world.html > > > > (lambda _, __, ___, ____, _____, ______, _______, ________: > getattr( > __import__(True.__class__.__name__[_] + [].__class__.__name__[__]), > ().__class__.__eq__.__class__.__name__[:__] + > ().__iter__().__class__.__name__[_____:________] > )( > _, (lambda _, __, ___: _(_, __, ___))( > lambda _, __, ___: > chr(___ % __) + _(_, __, ___ // __) if ___ else > (lambda: _).func_code.co_lnotab, > _ << ________, > (((_____ << ____) + _) << ((___ << _____) - ___)) + (((((___ << __) > - _) << ___) + _) << ((_____ << ____) + (_ << _))) + (((_______ << > __) - _) << (((((_ << ___) + _)) << ___) + (_ << _))) + (((_______ > << ___) + _) << ((_ << ______) + _)) + (((_______ << ____) - _) << > ((_______ << ___))) + (((_ << ____) - _) << ((((___ << __) + _) << > __) - _)) - (_______ << ((((___ << __) - _) << __) + _)) + (_______ > << (((((_ << ___) + _)) << __))) - ((((((_ << ___) + _)) << __) + > _) << ((((___ << __) + _) << _))) + (((_______ << __) - _) << > (((((_ << ___) + _)) << _))) + (((___ << ___) + _) << ((_____ << > _))) + (_____ << ______) + (_ << ___) > ) > ) > )( > *(lambda _, __, ___: _(_, __, ___))( > (lambda _, __, ___: > [__(___[(lambda: _).func_code.co_nlocals])] + > _(_, __, ___[(lambda _: _).func_code.co_nlocals:]) if ___ else [] > ), > lambda _: _.func_code.co_argcount, > ( > lambda _: _, > lambda _, __: _, > lambda _, __, ___: _, > lambda _, __, ___, ____: _, > lambda _, __, ___, ____, _____: _, > lambda _, __, ___, ____, _____, ______: _, > lambda _, __, ___, ____, _____, ______, _______: _, > lambda _, __, ___, ____, _____, ______, _______, ________: _ > ) > ) > ) > > > > I am in total awe. > So am I, that sure is some gauntlet to throw into the ring. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence