How to parse a string representing a list and convert it into an actual list in Python?

Suppose that I have a string that contains a list. I want to convert that string into a list. I have found one method of doing it that is below:

I believe there are many other efficient alternative methods available that help us in parsing a string representing a list and converting it into an actual list. It will be great if you share any.