Hello World

Steve Hayes hayesstw at telkomsa.net
Sat Dec 20 13:39:57 EST 2014


On Sat, 20 Dec 2014 23:57:08 +1100, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> 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.

Bloody hell! It worked.


-- 
Steve Hayes from Tshwane, South Africa
Web:  http://www.khanya.org.za/stevesig.htm
Blog: http://khanya.wordpress.com
E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk



More information about the Python-list mailing list