开发者社区 问答 正文

python必备内置函数- help()  

python必备内置函数- help()

展开
收起
请回答1024 2020-03-30 11:31:04 614 分享 版权
2 条回答
写回答
取消 提交回答
  • 代码改变世界,我们改变代码

    help(对象)

    返回对象的帮助doc

    2020-04-06 17:00:14
    赞同 展开评论
  • 返回对象的帮助文档

    In [113]: help(xiaoming) Help on Student in module main object:

    class Student(builtins.object) | Methods defined here: | | init(self, id, name) | | repr(self) | | ---------------------------------------------------------------------- | Data descriptors defined here: | | dict | dictionary for instance variables (if defined) | | weakref | list of weak references to the object (if defined)

    2020-03-30 11:31:33
    赞同 展开评论
问答分类:
问答地址: