Is there a way to take python statements as a string, list or any other variable and then later execute them later as code (perhaps with delayed modifications)?
Simple example:
execution_statements = '''
print(a)
print(b)
print({})
'''.format(c)
while_loop = '''
while(condition==True):
{}
#execution statements
'''.format(execution_statements)
python.execute_as_code(while_loop)