What is a frozen Python module?

前端 未结 3 1229
余生分开走
余生分开走 2020-12-05 18:11

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

3条回答
  •  伪装坚强ぢ
    2020-12-05 18:15

    The answer is in the same place:

    (Frozen modules are modules written in Python whose compiled byte-code object is incorporated into a custom-built Python interpreter by Python’s freeze utility. See Tools/freeze/ for now.)

提交回复
热议问题