list of methods for python shell?

后端 未结 9 1434
鱼传尺愫
鱼传尺愫 2021-02-13 21:27

You\'d have already found out by my usage of terminology that I\'m a python n00b.

straight forward question:

How can i see a list of methods for a particular obj

9条回答
  •  春和景丽
    2021-02-13 21:49

    Its simple do this for any object you have created

    dir(object)
    

    it will return a list of all the attributes of the object.

提交回复
热议问题