how to convert a variable to a string in python code example
Example: how to give a string value variable in python
foo = "bar"
exec(foo + " = 'something else'")
print bar
something else
foo = "bar"
exec(foo + " = 'something else'")
print bar
something else