How do I look inside a Python object?

后端 未结 22 1656
感情败类
感情败类 2020-12-04 04:18

I\'m starting to code in various projects using Python (including Django web development and Panda3D game development).

To help me understand what\'s going on, I wo

22条回答
  •  眼角桃花
    2020-12-04 04:59

    If you are interested to see the source code of the function corresponding to the object myobj, you can type in iPython or Jupyter Notebook:

    myobj??

提交回复
热议问题