title: Python List to its exact string representation
body: <p>I want to convert a python list to its exact string representation. </p>
  
  <p>Example:</p>
  
  <pre><code>L = ['L','O','L',True]
  </code></pre>
  
  <p>Desired string representation:</p>
  
  <pre><code>"['L','O','L',true]"
  </code></pre>
  
  <p>Reason: I need to embed that string inside a javascript snippet. Any ideas on how i can do this effectively ?</p>