Thank you for your attention, I have a pyc file and I need to get its source code, I have already tried many libraries, but there are errors with the version,
Here is the command line output when trying to decompile:
C:\Users\nigga22nd\Downloads>uncompyle6 bot.pyc
# uncompyle6 version 3.8.0
# Python bytecode 3.10.0 (3439)
# Decompiled from: Python 3.8.10 (tags/v3.8.10:3d8993a, May
MSC v.1928 64 bit (AMD64)]
# Embedded file name: bot.py
# Compiled at: 2022-02-19 13:03:49
# Size of source mod 2**32: 68797 bytes
Unsupported Python version, 3.10.0, for decompilation
# Unsupported bytecode in file bot.pyc
# Unsupported Python version, 3.10.0, for decompilation
Here is the file itself if anyone can help: https://dropmefiles.com/1rVNb I really need the source code.
As of this writing, no existing version of uncompyle6 works for Python 3.9 or 3.10 (and your bytecode is built for 3.10).
See feedback from the developer on this topic in the below tickets:
Also, for another Python decompiler from the same author:
Consider settling for a disassembler instead of a decompiler.