用pyinstaller来运行python吗? [英] Exe to python with pyinstaller?

查看:89
本文介绍了用pyinstaller来运行python吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我犯了一个严重错误,并删除了我的代码文件(python).我唯一拥有的是我用pyinstaller创建的.exe python文件.有没有办法扭转这种情况并从.exe提取我的代码文件?

So I made a huge mistake and deleted my code file (python). The only thing I have is my python file as .exe that I created with pyinstaller. Is there a way to reverse this and to extract my code file from .exe?

推荐答案

您可以使用

You can extract the contents of the .exe file using PyInstaller Extractor. Run it like this:

python pyinstxtractor.py executable.exe

然后您将获得一堆文件,包括原始的python文件.

You will then get a bunch of files, including your original python file.

这篇关于用pyinstaller来运行python吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆