Is it possible to run a Python script which has been saved as a variable?
x = 'print ("Hello, World!")'
??? run(x) ???
I would like to be able to run the script without having to run:
python -c 'print ("Hello, World!")'
Any help will be appreciated.