python標準庫模組放在哪裡?
python標準庫模組放在lib目錄下(home目錄/pythonXX.XX/lib)。檢視方法是:1、利用sys.path檢視所有python路徑;2、找到pythonXX.XX/lib即為標準模組的存放位置。
首先使用 sys 下的 path 變數檢視所有的 python 路徑:
import sys sys.path
標準庫
lib 目錄下(home 目錄/pythonXX.XX/lib)
推薦課程:
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/1343/viewspace-2832929/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【python】Python標準庫defaultdict模組Python
- Python標準庫(1) — Itertools模組Python
- Python標準庫系列之Memcache模組Python
- python:模組1——標準庫簡介Python
- Python標準庫系列之Redis模組PythonRedis
- Python標準庫系列之模組介紹Python
- python標準模組(一)Python
- python標準模組(二)Python
- python標準模組(三)Python
- Python 標準庫筆記(1) — String模組Python筆記
- 3Python標準庫系列之os模組Python
- python模組安裝目錄在哪裡Python
- STL標準模組庫:容器string模組
- python常用標準庫(os系統模組、shutil檔案操作模組)Python
- Python新手常見問題八:標準庫模組命名Python
- python常用標準庫(壓縮包模組zipfile和tarfile)Python
- python常用標準庫Python
- 衡量優質香港伺服器租用的標準在哪裡伺服器
- python標準庫目錄Python
- Python標準庫(待續)Python
- Python標準庫一覽Python
- python標準庫00學習準備Python
- 模組轉測標準
- Python標準庫06 子程式Python
- python標準庫SocketServer學習PythonServer
- Python 快速教程(標準庫):學習準備Python
- python下載的庫包放哪裡Python
- VBA標準模組與類模組(轉)
- python官方標準庫(中文版)Python
- Python 2.* 標準庫簡介Python
- Python標準庫之functools/itertools/operatorPython
- 淺析騰訊雲伺服器標準型SA2與標準型S2的區別在哪裡?伺服器
- script標籤到底該放在哪裡
- Python標準庫14 資料庫 (sqlite3)Python資料庫SQLite
- Python標準庫13 迴圈器 (itertools)Python
- 整合 Python標準庫之 Path/File 類Python
- Python標準庫中隱藏的利器Python
- Python gevent 是如何 patch 標準庫的 ?Python