Created
February 28, 2014 08:55
-
-
Save mahmoud/9267664 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> __builtins__ = {'file': __builtins__.file} | |
>>> file('/dev/null') | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
IOError: file() constructor not accessible in restricted mode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment