-----------------------------------------------------------------------------------------------------
列出当前python环境下的所有modules
在python shell/prompt.环境下
help('modules')
----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
查看某一个module的具体版本,已pandas为例
在python shell/prompt.环境下
import pandas
print(pandas.__version__)
在python中每一个类都有类似__version__的静态属性的
----------------------------------------------------------------------------------------------------
English Version
-----------------------------------------------------------------------------------------------------
List all modules (packages) that installed in current Python env
Go to CMD, key in Python or iPython, open Python / iPython interface, then key in below
help('modules')
----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
Check version info of a module.
Go to CMD, key in Python or iPython, open Python / iPython interface, then key in below
import pandas
print(pandas.__version__)
There is several static attribute such as __version__ in every python class
----------------------------------------------------------------------------------------------------