Where are the python modules stored?

后端 未结 7 2043
说谎
说谎 2020-12-02 11:08

I have recently started learning Python and I have 2 questions relating to modules.

  1. Is there a way to obtain a list of Python modules available (i.e. installed
7条回答
  •  醉酒成梦
    2020-12-02 11:30

    If you are using conda or pip to install modules you can use

    pip list
    

    or

    conda list
    

    to display all the modules. This will display all the modules in the terminal itself and is much faster than

    >>> help('modules')
    
    

提交回复
热议问题