Get available modules

前端 未结 5 1479
闹比i
闹比i 2020-12-13 23:35

With PHP you have the phpinfo() which lists installed modules and then from there look up what they do.

Is there a way to see what packages/modules are installed to

5条回答
  •  天涯浪人
    2020-12-14 00:30

    As aaronasterling says, all .py or .pyc files on sys.path is a module because it can be imported. There are scripts that can let you find what external module is installed in site-packages.

    Yolk is a Python command-line tool and library for obtaining information about packages installed by setuptools, easy_install and distutils and it can also query pypi packages.

    • http://tools.assembla.com/yolk/

提交回复
热议问题