help()

help() 用于查看帮助信息

[[email protected] ~]# ipython
Python 2.6.6 (r266:84292, Nov 22 2013, 12:16:22)
Type "copyright", "credits" or "license" for more information.

In [1]: help(type)    # 查看 type() 函数的帮助信息

时间: 2024-08-06 13:24:55