How I can decompile byte code to .py in python 3.11

4k Views Asked by At

I lost my source code and tried to retrieve it again. I have extracted the cyp file and used tool to decompile it back to .py, but unfortunately, I have gotten this error:

nvalid pyc/pyo file - Magic value mismatch!

Is there any tool for code written with python 3.11.5?

I wnat to get my .py back.

1

There are 1 best solutions below

1
Enzo Burille On

You can try this sugestion here, i've never tried but may work. The latests commits add suport for python3.11