title: What tools or libraries are there for decompiling python and exploring bytecode?
body: <p>Lets say I have:</p>
  
  <pre><code>&gt;&gt;&gt; def test(a):    
  &gt;&gt;&gt;    print a
  </code></pre>
  
  <p>Now, I want to explore see how test looks like in its compiled form.</p>
  
  <pre><code>&gt;&gt;&gt; test.func_code.co_code
  '|\x00\x00GHd\x00\x00S'
  </code></pre>
  
  <p>I can get the disassembled form using the <strong>dis</strong> module:</p>
  
  <pre><code>&gt;&gt;&gt; import dis
  &gt;&gt;&gt; dis.dis(test)
    2           0 LOAD_FAST                0 (a)
                3 PRINT_ITEM
                4 PRINT_NEWLINE
                5 LOAD_CONST               0 (None)
                8 RETURN_VALUE
  </code></pre>
  
  <p>Is there an opensource and maintained decompiler I could use to turn the bytecode back into readable python code?</p>
  
  <p><strong>update: thanks for suggesting decompile, but it's outdated (python2.3) and no one maintains it anymore. Is there anything for python2.5 or later?</strong> </p>