title: Eval list within quotes
body: <p>I am writing a program in Python that takes in user input (not using Python's built-in <code>input</code>) that is a string that contains a list of strings, ie. <code>'["hello", "world"]'</code>. However, some inputs will have multiple quotes inside, ie. <code>'["Hello", "wor"ld"]'</code>. I need the string to always <code>eval()</code> to a list. Any advice on cleansing the input string to ensure that it will always eval? Already tried <code>.replace('"', '\"')</code>. </p>