什么是冻结的 Python 模块? [英] What is a frozen Python module?
本文介绍了什么是冻结的 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屋!
查看全文