Python库,包,模块

问题描述 投票:1回答:1

我怎么知道我可以用来解决给定问题的库,包或模块(标准和外部)?例如,我在查找一些初学者练习时使用了BeautifulSoup库来“解码”一个网站,但我只知道BeautifulSoup存在,因为我在一个练习示例中看到它并且如果我不这样做就不知道它是否存在偶然发现它。

python module package libraries
1个回答
0
投票

All libraries in Python are managed by the "Pip Installs Packages" package manager (pip)

(有关更多信息,请参阅Python 3.7.2 documentation — Installing Python Modules

可以使用系统中的pip freeze命令列出本地Python系统中安装的每个模块/ lib。

© www.soinside.com 2019 - 2024. All rights reserved.