This document is for an old version of Python that is no longer supported. You should upgrade and read the Dokumentasi Python untuk rilis stabil saat ini.

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python »
  • id 2.7.18 Documentation »
  • Pustaka Standar Python »

31. Mengimpor ModulΒΆ

Modul yang dijelaskan dalam bab ini memberikan cara baru untuk mengimpor modul Python dan kait lainnya untuk menyesuaikan proses impor.

Daftar lengkap modul yang dijelaskan dalam bab ini adalah:

  • 31.1. imp --- Access the import internals
    • 31.1.1. Contoh-contoh
  • 31.2. importlib --- Convenience wrappers for __import__()
  • 31.3. imputil --- Import utilities
    • 31.3.1. Examples
  • 31.4. zipimport --- Import modules from Zip archives
    • 31.4.1. zipimporter Objects
    • 31.4.2. Contoh-contoh
  • 31.5. pkgutil --- Package extension utility
  • 31.6. modulefinder --- Find modules used by a script
    • 31.6.1. Example usage of ModuleFinder
  • 31.7. runpy --- Locating and executing Python modules

Topik sebelumnya

30.2. Bastion --- Restricting access to objects

Topik berikutnya

31.1. imp --- Access the import internals

Halaman Ini

  • Lihat Sumber

Pencarian cepat

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python »
  • id 2.7.18 Documentation »
  • Pustaka Standar Python »
© Hak Cipta 1990-2020, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Mei 20, 2020. Found a bug?
Created using Sphinx 2.3.1.