So I have a list that includes some prefix single quotes that I really don\'t need.
I tried to convert them with map().
The list looks like this:
You could use ast.literal_eval to safely parse the strings in the list:
from ast import literal_eval list(map(literal_eval, my_list)) # [{'id': 'browser', 'top': 5000}, {'id': 'amo_ef_id', 'top': 5000}]