Sandboxing Python

Akira Li 4kir4.1i at gmail.com
Sun Aug 23 05:32:20 EDT 2015


Mark Lawrence <breamoreboy at yahoo.co.uk> writes:

> I was always led to believe that the subject was a difficult thing to
> do, but here
> https://www.reddit.com/r/learnpython/comments/3huz4x/how_to_do_math_inside_raw_input/
> is a safe solution in only 23 characters, or are there any discernable
> flaws in it?

Related: http://stackoverflow.com/questions/2371436/evaluating-a-mathematical-expression-in-a-string




More information about the Python-list mailing list