Am găsit acest coe de la unii dintre prietenii mei. Și funcționează bine
#!/usr/bin/env python
# -*- codificare: UTF-8 -*-
# colectează De Aime_jeux
#################################################################### ########################
import marshal,base64,zlib
import sys
din sys import stdout
de la uncompyle6.main import decompile
import py_compile
#################################################################### ########################
def main():
FileSource = '/home/user/Desktop/plugin.py'
############################# CITIȚI FIȘIERUL ################## #################
fișierR = deschis(Sursa fișierului, „r”)
text = fileR.read()
fileR.close()
############################# ȘTERGEȚI FIȘIERUL TXT ################## ############
TxT = text.replace('import base64\nexec(base64.b64decode(','').replace('))','')
_Dons = base64.b64decode(TxT)
_Dons = _Dons.replace('import marshal\n','').replace('exec(marshal.loads(','').replace(')))','').replace('base64.b64decode (','')
############################# DECOMPRESE FIȘIER TXT_CU MARSHAL #############
_Dons = marshal.loads(base64.b64decode(_Dons))
#_Donns = decompilare(2.7, _Dons,stdout)
############################# IEȘI FIȘIER ################# #################
OutPutFile = '/home/user/Desktop/MyFileOut.py'
F = fișier(OutPutFile,"w")
F.write(decompilare(2.7, _Dons,stdout).text)
F.close()
if __name__=='__main__':
principal()