I did try uncompyle6, decompyl3, and others, but none of them worked with 3.10. Is it even possible to do this right now?
Asked
Active
Viewed 2.3k times
7
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Feb 26 '22 at 21:57
-
python 3.10 is very fresh version and you may need to wait for tools for this version. – furas Feb 26 '22 at 21:58
2 Answers
11
Use pycdc. Github: https://github.com/zrax/pycdc
git clone https://github.com/zrax/pycdc
cd pycdc
cmake .
make
make check
python pycdc C:\Users\Bobby\example.pyc
-
2To use pycdc you'll have to to clone the repo, cd into that dir, run 'cmake .' (you might have to install cmake), then run 'make', then 'make checks', then you can run pycdc. It worked for me with Python 3.10 bytecode. – Luke Sheppard Aug 22 '22 at 23:18
-
4
-
1@CodeMed: As others have subsequently posted, if you don't have `make` available, `MSBuild.exe pycdc.vcxproj` should build it, and the resulting `pycdc.exe` executable should do the same job. – ShadowRanger Aug 29 '23 at 18:59
-1
on Windows (presume you have both Cmake and MSBuild.exe)
git clone https://github.com/zrax/pycdc
cd pycdc
cmake .
MSBuild.exe pycdc.vcxproj
cd pycdc/Debug
pycdc.exe yourfile.pyc

Zbooby
- 9
- 2