Menu Close

How to get a list of locally installed Python modules?

Sometimes, we want to get a list of locally installed Python modules.

In this article, we’ll look at how to get a list of locally installed Python modules.

How to get a list of locally installed Python modules?

To get a list of locally installed Python modules, we can use the help function.

For instance, we write

help('modules')

to call help with 'modules' to get a list of locally installed Python modules.

Conclusion

To get a list of locally installed Python modules, we can use the help function.

Posted in Python, Python Answers