Python exec() — A Hacker’s Guide to A Dangerous Function
Python’s exec() function executes the Python code you pass as a string or executable object argument. This is called dynamic execution because, in contrast to normal static Python code, you can generate code and execute it at runtime. This way, you can run programmatically-created Python code. Have you ever wondered about the limits of a …
Python exec() — A Hacker’s Guide to A Dangerous Function Read More »