In <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> And can anyone explain why this is so?
>>>> while 1: input(__import__('os').urandom(6).encode('base64'))
> ...
> BgiWdv//
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "<string>", line 0
>
> ^
> SyntaxError: unexpected EOF while parsing
It's `input()` that expects a valid Python expression. An empty one
doesn't work, it has to evaluate to something.
In [2]: input()
------------------------------------------------------------
File "<string>", line 0
^
SyntaxError: unexpected EOF while parsing
Ciao,
Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list