简体   繁体   English

如何将创建的 EXE 文件转换回 Python?

[英]How to convert a created EXE file back to Python?

How do I convert a EXE file created with PyInstaller back to a .py file?如何将使用 PyInstaller 创建的 EXE 文件转换回.py文件?

I already tried python-exe-unpack-master , but that didn't work.我已经尝试过python-exe-unpack-master ,但这没有用。 Further I've seen this article: How do you reverse engineer an EXE "compiled" with PyInstaller but I don't know how to extract the EXE's append data.此外,我还看过这篇文章: 如何对使用 PyInstaller “编译”的 EXE 进行逆向工程,但我不知道如何提取 EXE 的附加数据。

Is there a other way?还有其他方法吗? Or can someone explain me more about the method I gave.或者有人可以向我解释更多关于我给出的方法的信息。

You can extract the contents of the .exe file using PyInstaller Extractor.您可以使用 PyInstaller Extractor 提取 .exe 文件的内容。 Run it like this:像这样运行它:

python pyinstxtractor.py executable.exe

You will get your python file.你会得到你的python文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM