Quantcast
Channel: How do I get a list of locally installed Python modules? - Stack Overflow
Viewing all articles
Browse latest Browse all 35

Answer by Dan Evans for How do I get a list of locally installed Python modules?

$
0
0

I just use this to see currently used modules:

import sys as ss.modules.keys()

which shows all modules running on your python.

For all built-in modules use:

s.modules

Which is a dict containing all modules and import objects.


Viewing all articles
Browse latest Browse all 35

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>