pip install uncompyle6 uncompyle6 extracted_file.pyc > recovered.py
Run the EXE through a detection tool like Detect It Easy or PEiD . If you see "PyInstaller" or "PyExe," proceed. convert exe to py