Home >Backend Development >Python Tutorial >How Can I List Locally Installed Python Modules?

How Can I List Locally Installed Python Modules?

Susan Sarandon
Susan SarandonOriginal
2024-11-28 20:08:13343browse

How Can I List Locally Installed Python Modules?

Listing Locally Installed Python Modules

Want to know what Python modules are installed on your computer? Here's how to get the list:

Run the following command in a Python shell or prompt:

help('modules')

This will generate a list of available modules, both built-in and third-party.

The above is the detailed content of How Can I List Locally Installed Python Modules?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn