首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏Python 技术小屋

    Python exe 文件反编译为 Python 脚本

    -00.pyz'? o PYZ-00.pyzContents of 'PYZ-00.pyz' (PYZ): is_package, position, length, name 0, 17, 2647, '_compat_pickle /main.exe_extracted/PYZ-00.pyz_extracted"for pyc_file in os.listdir(pyz_dir): if pyc_file.endswith # 补全非入口类文件pyz_dir = "main.exe_extracted/PYZ-00.pyz_extracted"for pyc_file in os.listdir(pyz_dir): Cannot extract PYZ-00.pyz.

    3.2K20编辑于 2024-04-21
  • 来自专栏CSDN博客专家-小蓝枣的博客

    Python 技术篇-将python项目打包成exe独立运行程序,pyinstaller库打包python代码

    INFO: Graph cross-reference written to D:\pyinstaller\build\hello\xref-hell o.html 6357 INFO: checking PYZ 6358 INFO: Building PYZ because PYZ-00.toc is non existent 6359 INFO: Building PYZ (ZlibArchive) D:\ pyinstaller\build\hello\PYZ-00.pyz 7000 INFO: Building PYZ (ZlibArchive) D:\pyinstaller\build\hello\PYZ -00.pyz comp leted successfully. 7006 INFO: checking PKG 7007 INFO: Building PKG because PKG-00.toc is

    2.1K31发布于 2020-09-24
  • 来自专栏CSDN博客专家-小蓝枣的博客

    Python 技术篇-将python项目打包成exe独立运行程序,pyinstaller库打包python代码实例演示

    INFO: Graph cross-reference written to D:\pyinstaller\build\hello\xref-hell o.html 6357 INFO: checking PYZ 6358 INFO: Building PYZ because PYZ-00.toc is non existent 6359 INFO: Building PYZ (ZlibArchive) D:\ pyinstaller\build\hello\PYZ-00.pyz 7000 INFO: Building PYZ (ZlibArchive) D:\pyinstaller\build\hello\PYZ -00.pyz comp leted successfully. 7006 INFO: checking PKG 7007 INFO: Building PKG because PKG-00.toc is

    90120发布于 2021-12-01
  • 来自专栏小锋学长生活大爆炸

    反编译PyInstaller打包后的exe为py源码

    4、在目录下生成反编译后的文件:xx.exe_extracted 生成拆解目录如下: --- xxx.exe_extracted -- out00-PYZ.pyz_extracted - 各种.pyc文件 -- out00-PYZ.pyz -- some -- others -- xxx(注意这些都是没后缀的) 5、PYZ-00.pyz_extracted文件夹内是

    4.2K10发布于 2020-09-08
  • 来自专栏凹凸玩数据

    别再问我exe反编译成Python脚本了!

    open embedded archive name X <name>: extract name Q: quit 然后可以提取出指定需要提取的文件: 要提取其他被导入的pyc文件,则需要先打开PYZ -00.pyz: 很显然,使用PyInstaller的pyi-archive_viewer 工具操作起来比较麻烦,一次只能提取一个文件,遇到子模块还需执行一次打开操作。 这里我们选择第13个字节再插入四个字节即可: 然后再执行: uncompyle6 auto_organize_gui.exe_extracted/PYZ-00.pyz_extracted/auto_organize.pyc 目录抽取的pyc文件的前4个字节作基准: pyz_dir = f"{pyc_dir}/PYZ-00.pyz_extracted" for pyc_file in os.listdir(pyz_dir): = f"{pyc_dir}/PYZ-00.pyz_extracted" for pyc_file in os.listdir(pyz_dir): pyc_file_src = f"{pyz_dir

    21.6K44发布于 2021-09-03
  • 来自专栏python3

    python 将python程序编译成可

    win32\MonitorWin32Process\warnMonitorWin32Process.txt 4866 INFO: checking PYZ 4867 INFO: rebuilding out00-PYZ.toc because out00-PYZ.pyz is missing 4868 INFO: building PYZ out00-PYZ.toc 6252 INFO: checking

    1.2K30发布于 2020-01-09
  • 来自专栏用户2910674的专栏

    这些Python文件格式你知道3个以上算我输!

    • 保存和加载Python对象 • 临时存储数据 优缺点 优点: • 序列化和反序列化非常简单 • 可以存储几乎任何Python对象 缺点: • 不适合长期存储 • 存在安全风险,易受攻击 10. .pyz 文件 .pyz 文件是压缩的Python程序,可以将多个Python文件打包成一个归档文件~ 代码案例 生成 .pyz 文件: zipapp -o myapp.pyz -m 'mymodule:main ' mymodule/ 运行 .pyz 文件: python myapp.pyz 常用场景 • 发布单文件应用 • 简化部署 优缺点 优点: • 所有文件打包在一起,方便管理 • 简化分发和部署 缺点: • 不易调试 • 需要支持 .pyz 的Python版本 常见文件格式转换 .py 转 .pyc 可以使用Python自带的compileall模块: python -m compileall your_script.py

    1.8K10编辑于 2024-07-12
  • 来自专栏有困难要上,没有困难创造困难也要上!

    使用PyInstaller打包webssh

    win_no_prefer_redirects=False, win_private_assemblies=False, cipher=block_cipher) pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) exe = EXE(pyz, a.scripts,

    80310发布于 2019-02-26
  • 来自专栏全栈程序员必看

    Python如何将py文件打包成exe[通俗易懂]

    win_private_assemblies=False, cipher=block_cipher, noarchive=False) pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) 第四个参数,datas=[]。 win_no_prefer_redirects=False, win_private_assemblies=False, cipher=block_cipher) pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) exe = EXE(pyz, a.scripts, exe = EXE(pyz, a.scripts, a.binaries, a.zipfiles, a.datas,

    3.9K20编辑于 2022-09-08
  • 来自专栏python3

    Python 一个简单的读取excel例

    hanruikai/eclipse-workspace/build/ReadCreditCardExcel/xref-ReadCreditCardExcel.html 4638 INFO: checking PYZ 4638 INFO: Building PYZ because out00-PYZ.toc is non existent 4638 INFO: Building PYZ (ZlibArchive) /Users/hanruikai/eclipse-workspace/build/ReadCreditCardExcel/out00-PYZ.pyz 5023 INFO: Building PYZ (ZlibArchive ) /Users/hanruikai/eclipse-workspace/build/ReadCreditCardExcel/out00-PYZ.pyz completed successfully.

    1.1K10发布于 2020-01-08
  • 来自专栏CSDN旧文

    『Python』Python编译成计算机可执行文件(Windows计算机可执行文件exe,Linux 计算机可执行文件elf,Mac计算机可执行文件mach-O)

    Graph cross-reference written to C:\Users\张小胖\Desktop\build\demo\xref-demo.html 7130 INFO: checking PYZ 7130 INFO: Building PYZ because PYZ-00.toc is non existent 7134 INFO: Building PYZ (ZlibArchive) C:\ Users\张小胖\Desktop\build\demo\PYZ-00.pyz 7971 INFO: Building PYZ (ZlibArchive) C:\Users\张小胖\Desktop\build \demo\PYZ-00.pyz completed successfully. 7989 INFO: checking PKG 7989 INFO: Building PKG because PKG-

    4.3K10发布于 2020-10-28
  • 来自专栏Dechin的专栏

    Manjaro Linux平台用pyinstaller打包python可执行文件

    written to /home/dechin/projects/2021-python/installer/build/pye/xref-pye.html 6361 INFO: checking PYZ 6361 INFO: Building PYZ because PYZ-00.toc is non existent 6361 INFO: Building PYZ (ZlibArchive) /home /dechin/projects/2021-python/installer/build/pye/PYZ-00.pyz 6647 INFO: Building PYZ (ZlibArchive) /home /dechin/projects/2021-python/installer/build/pye/PYZ-00.pyz completed successfully. 6649 INFO: checking -00.pyz │ ├── PYZ-00.toc │ ├── Tree-00.toc │ ├── Tree-01.toc │ ├── Tree-02.toc

    3.5K20发布于 2021-05-21
  • 来自专栏好好学习吧

    Python定时偷取妹子Chrome上网记录

    cross-reference written to Q:\PyWorkSpace\LearnPython\build\sendemail\xref-sendemail.html 11888 INFO: checking PYZ 11888 INFO: Building PYZ because out00-PYZ.toc is non existent 11888 INFO: Building PYZ (ZlibArchive ) Q:\PyWorkSpace\LearnPython\build\sendemail\out00-PYZ.pyz 12544 INFO: Building PYZ (ZlibArchive) Q:\ PyWorkSpace\LearnPython\build\sendemail\out00-PYZ.pyz completed successfully. 12555 INFO: checking PKG

    1.5K40发布于 2018-08-30
  • 来自专栏Michael阿明学习之路

    pyinstaller打包exe应用程序【乘法计算过程演示】

    win_no_prefer_redirects=False, win_private_assemblies=False, cipher=block_cipher, noarchive=False, ) pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) exe = EXE( pyz, a.scripts, a.binaries

    43820编辑于 2023-08-09
  • 来自专栏python深度学习

    Manjaro Linux平台用pyinstaller打包python可执行文件

    written to /home/dechin/projects/2021-python/installer/build/pye/xref-pye.html 6361 INFO: checking PYZ 6361 INFO: Building PYZ because PYZ-00.toc is non existent 6361 INFO: Building PYZ (ZlibArchive) /home /dechin/projects/2021-python/installer/build/pye/PYZ-00.pyz 6647 INFO: Building PYZ (ZlibArchive) /home /dechin/projects/2021-python/installer/build/pye/PYZ-00.pyz completed successfully. 6649 INFO: checking -00.pyz │   ├── PYZ-00.toc │   ├── Tree-00.toc │   ├── Tree-01.toc │   ├── Tree-02.toc

    3.5K00发布于 2021-04-01
  • 来自专栏五角钱的程序员

    快速将多个py文件及其他文件打包为exe可执行文件

    win_private_assemblies=False, cipher=block_cipher, noarchive=False) pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) exe = EXE(pyz, a.scripts,

    3.2K20编辑于 2022-06-13
  • 来自专栏Python 技术小屋

    一文学会使用 PyInstaller 将 Python 脚本打包为 .exe 可执行文件

    to C:\Users\MQiuj\PycharmProjects\pythonProject\build\20231207\xref-20231207.html2982 INFO: checking PYZ2983 INFO: Building because toc changed2983 INFO: Building PYZ (ZlibArchive) C:\Users\MQiuj\PycharmProjects \pythonProject\build\20231207\PYZ-00.pyz3257 INFO: Building PYZ (ZlibArchive) C:\Users\MQiuj\PycharmProjects \pythonProject\build\20231207\PYZ-00.pyz completed successfully.3288 INFO: checking PKG3288 INFO: Building

    8.3K30编辑于 2023-12-13
  • 来自专栏用户2442861的专栏

    Good logging practice in Python

    main File "<string>", line 20, in __init__ File "h:\workspace\project\build\pyi.win32\mrdj\outPYZ1.pyz _core", line 7978, in __init__ File "h:\workspace\project\build\pyi.win32\mrdj\outPYZ1.pyz/wx. twisted.internet.wxreactor", line 175, in install File "h:\workspace\project\build\pyi.win32\mrdj\outPYZ1.pyz _threadedselect", line 106, in __init__ File "h:\workspace\project\build\pyi.win32\mrdj\outPYZ1.pyz twisted.internet.base", line 488, in __init__ File "h:\workspace\project\build\pyi.win32\mrdj\outPYZ1.pyz

    1K10发布于 2018-09-19
  • 来自专栏技术杂记

    pyinstaller

    \dist) --workpath WORKPATH Where to put all the temporary work files, .log, .pyz Graph cross-reference written to C:\Python27\test\build\command\xref-command.html 3384 INFO: checking PYZ 3384 INFO: Building PYZ because out00-PYZ.toc is non existent 3387 INFO: Building PYZ (ZlibArchive) C:\Python27\test\build\command\out00-PYZ.pyz 3607 INFO: Building PYZ (ZlibArchive) C:\Python27\test\build \command\out00-PYZ.pyz completed successfully. 3637 INFO: checking PKG 3639 INFO: Building PKG because

    2.8K30发布于 2021-08-12
  • 来自专栏python3

    python3打包脚本

    Graph cross-reference written to C:\python36\Scripts\build\nhrp\xref-nhrp.html 5297 INFO: checking PYZ 5298 INFO: Building PYZ because out00-PYZ.toc is non existent 5299 INFO: Building PYZ (ZlibArchive) C:\python36\Scripts\build\nhrp\out00-PYZ.pyz 5814 INFO: Building PYZ (ZlibArchive) C:\python36\Scripts \build\nhrp\out00-PYZ.pyz completed successfully. 5819 INFO: checking PKG 5820 INFO: Building PKG because

    1.1K40发布于 2020-01-03
领券