什么是冻结的Python模块? [英] What is a frozen Python module?

查看:289
本文介绍了什么是冻结的Python模块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

模块imp的Python帮助正在讨论冻结的模块.什么事?

The Python help of the module imp is talking about a frozen module. What is it?

http://docs.python.org/library/imp.html# imp.PY_FROZEN

推荐答案

此链接详细说明了Python Freeze实用程序: http://wiki.python.org/moin/Freeze

This link explains what the Python Freeze utility is in detail: http://wiki.python.org/moin/Freeze

简而言之,它创建了可移植版本的python脚本,该脚本带有自己的内置解释器(基本上像二进制可执行文件),因此您可以在没有python的计算机上运行它.

In a nutshell, it creates a portable version of a python script that carries its own built in interpreter (basically like a binary executable), so that you can run it on machines without python.

这篇关于什么是冻结的Python模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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