• <label id="znjdb"><menuitem id="znjdb"></menuitem></label>
    <label id="znjdb"></label>
  • <tbody id="znjdb"><dfn id="znjdb"></dfn></tbody>
    <dl id="znjdb"><menuitem id="znjdb"></menuitem></dl>
    <thead id="znjdb"><dfn id="znjdb"></dfn></thead>
    <wbr id="znjdb"></wbr>
    Logo

    上一個(gè)主題

    codeop --- 編譯Python代碼

    下一個(gè)主題

    zipimport --- 從 Zip 存檔中導(dǎo)入模塊

    當(dāng)前頁面

    • 提交 Bug
    • 顯示源碼

    導(dǎo)航

    • 索引
    • 模塊 |
    • 下一頁 |
    • 上一頁 |
    • python logo
    • Python ?
    • Python 3.12.0a0 文檔 ?
    • Python 標(biāo)準(zhǔn)庫 ?
    • 導(dǎo)入模塊
    • |

    導(dǎo)入模塊?

    本章中介紹的模塊提供了導(dǎo)入其他Python模塊和掛鉤以自定義導(dǎo)入過程的新方法。

    本章描述的完整模塊列表如下:

    • zipimport --- 從 Zip 存檔中導(dǎo)入模塊
      • zipimporter 對(duì)象
      • 例子
    • pkgutil --- 包擴(kuò)展工具
    • modulefinder --- 查找腳本使用的模塊
      • ModuleFinder 的示例用法
    • runpy ——查找并執(zhí)行 Python 模塊
    • importlib --- import 的實(shí)現(xiàn)
      • 概述
      • 函數(shù)
      • importlib.abc —— 關(guān)于導(dǎo)入的抽象基類
      • importlib.machinery —— 導(dǎo)入器和路徑鉤子函數(shù)。
      • importlib.util —— 導(dǎo)入器的工具程序代碼
      • 例子
        • 用編程方式導(dǎo)入
        • 檢查某模塊可否導(dǎo)入。
        • 直接導(dǎo)入源碼文件。
        • 實(shí)現(xiàn)延遲導(dǎo)入
        • 導(dǎo)入器的配置
        • importlib.import_module() 的近似實(shí)現(xiàn)
    • importlib.resources -- Resources
    • Using importlib.metadata
      • 概述
      • 功能性 API
        • Entry points
        • Distribution metadata
        • Distribution versions
        • Distribution files
        • Distribution requirements
        • Package distributions
      • Distributions
      • Extending the search algorithm
    • The initialization of the sys.path module search path
      • Virtual environments
      • _pth files
      • Embedded Python

    上一個(gè)主題

    codeop --- 編譯Python代碼

    下一個(gè)主題

    zipimport --- 從 Zip 存檔中導(dǎo)入模塊

    當(dāng)前頁面

    • 提交 Bug
    • 顯示源碼
    ?

    導(dǎo)航

    • 索引
    • 模塊 |
    • 下一頁 |
    • 上一頁 |
    • python logo
    • Python ?
    • Python 3.12.0a0 文檔 ?
    • Python 標(biāo)準(zhǔn)庫 ?
    • 導(dǎo)入模塊
    • |
    ? 版權(quán)所有 2001-2022, Python Software Foundation.
    This page is licensed under the Python Software Foundation License Version 2.
    Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
    See History and License for more information.

    The Python Software Foundation is a non-profit corporation. Please donate.

    最后更新于 5月 26, 2022. Found a bug?
    由 Sphinx 4.5.0創(chuàng)建。

    感谢您访问我们的网站,您可能还对以下资源感兴趣:

    久久国产免费观看精品3_少妇按摩推油舒服到高潮连连_亚洲色欲色欲www在线观看_国自产在线精品一本无码中文
    <ins id="wfbts"><small id="wfbts"><nobr id="wfbts"></nobr></small></ins>