Tuesday, June 12, 2018

How do you get the list of python modules on your computer?

Often you want to know if a certain module is available before you do import for a module. If you try to import without it being present you would get a module not available message.

However if execute a help() statement and follow itp with a modules statement you will get the listing of all modules on your computer no matter how they were installed.



The list is truncated in the above image.


No comments: