the original exec comes with a handy namespace. it allows for the addition of trusted extra code
# Dictionary to store definitions from the script
script_namespace = {'myFunction': myFunction}
# Execute the script within the module's namespace
exec(script_content, script_namespace)
it would be handy to allow for extra functions to be imported within the execution context
the original exec comes with a handy namespace. it allows for the addition of trusted extra code
it would be handy to allow for extra functions to be imported within the execution context