Input() in Python3

Chris Angelico rosuav at
Fri Apr 22 08:50:59 CEST 2011

On Fri, Apr 22, 2011 at 4:49 PM, Chris Angelico <rosuav at> wrote:
> Uhhhh.... NO. NO NO NO. What if someone enters "os.exit()" as their
> number? You shouldn't eval() unchecked user input!

Whoops, I meant sys.exit() - but you probably knew that already.


More information about the Python-list mailing list