title: Attempting to decompile a python 3.9 .pyc binary
body: <p>I have been really struggling trying to decompile one python 3.9 .pyc binary. Most tools that i've tried, such as: <code>decompile3</code>, <code>uncompyle6</code>, ..etc seem to all return me the error</p>
  <p><code>ImportError: Unknown magic number 23117</code></p>
  <p>However, one of the tools did work to an extent. It's called <code>python-exe-unpacker</code> (<a href="https://github.com/countercept/python-exe-unpacker" rel="nofollow noreferrer">https://github.com/countercept/python-exe-unpacker</a>) and it did manage to unpack the binary partially. Here is the output it gives.</p>
  <pre><code>[*] On Python 3.9
  [*] Processing File.pyc
  [*] Pyinstaller version: 2.1+
  [*] This exe is packed using pyinstaller
  [*] Unpacking the binary now
  [*] Python version: 39
  [*] Length of package: 6598404 bytes
  [*] Found 31 files in CArchive
  [*] Beginning extraction...please standby
  [*] Found 232 files in PYZ archive
  [*] Successfully extracted pyinstaller exe.
  </code></pre>
  <p>In the unpack folder that it produces it extracts various files, one of which is <code>python39.dll</code> and the supposed source code of the .pyc file, except that it is quite corrupted and you can only read very small and few parts of it (mainly strings and function names).
  So is there any way in which I might be able to fully decompile it and get the full source code of the application?</p>