Human: How can I use a string with the same name of an object in Python to access the object itself? Assistant: 
Here is some code to get the attribute `x` from object `your_obj`

getattr(your_obj, x)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.