Pyhton - Raw text as argument to string : I encountered a problem while coding today, I need your help.

I have a function:

    def list_printer(name):
       frame = sys._getframe(1)
       print(name, '=', repr(eval(name, frame.f_globals, frame.f_locals)))
    return

and a list:

    my_list = [1, 2, 3, 4, 5]


When called it looks like this:

    list_printer('my_list')
and outputs:

    my_list = [1, 2, 3, 4, 5]

The thing is, as you can see I must use a string as the argument, is there any way i could type in raw text and then convert it to a string inside the function so that i dont have to use quotes?

Thank you in advance,
**Pinco**.
