How to execute a python module (python -m json.tool) programatically?
<p>I want to execute json.tool in my code and return the output (because of some weirdness json.dumps doesn't work for me. However, dumping the json to a file and running it through <code>python -m json.tool</code> gives me what I want).</p>

<p>How can I execute json.tool within my code programatically?</p>
