Python - How to easily convert string with list lay-out to list? : <p>My code required a (possible nested) list as variable. However, using <code>sys.argv</code> to input a command line argument reads the input as a string.</p>

<p>So given the example input <code>[[1,[2],3,4],5]</code>, what easy ways are there to convert this input from <code>str</code> to a <code>list</code>?</p>

<p>Thanks on forehand.</p>
