Hello World

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sun Dec 21 00:26:14 EST 2014


CM wrote:

> On Saturday, December 20, 2014 7:57:19 AM UTC-5, Steven D'Aprano wrote:
>> Taken from Ben Kurtovic's blog:
>> 
>> http://benkurtovic.com/2014/06/01/obfuscating-hello-world.html
[...]
> I ran it in IDLE with Python 2.7.8 and got:
> 
> Traceback (most recent call last):
>   File "C:/Python27/helloworld.py", line 39, in <module>
>     lambda _, __, ___, ____, _____, ______, _______, ________: _
>   File "C:/Python27/helloworld.py", line 21, in <lambda>
>     _))) + (_____ << ______) + (_ << ___)
> OSError: [Errno 9] Bad file descriptor

I believe that IDLE plays funny games with sys.stdout etc., so I'm not
surprised that this doesn't run under IDLE.



-- 
Steven




More information about the Python-list mailing list