exec
Python 2
exec is a statement, like print
exec "print 'Hello World!'" exec("print 'Hello World!'")
Python 3
exec is a function, like print()
exec("print('Hello World!')")