title: How do I autoformat some Python code to be correctly formatted?
body: <p>I have some existing code which isn't formatted consistently -- sometimes two spaces are used for indent, sometimes four, and so on. The code itself is correct and well-tested, but the formatting is awful.</p>
  
  <p>Is there a place online where I can simply paste a snippet of Python code and have it be indented/formatted automatically for me? Alternatively, is there an <code>X</code> such that I can do something like <code>X --input=*.py</code> and have it overwrite each file with a formatted version?</p>