import os code = os.environ['CODE'] exec(code)