How do I look inside a Python object?

后端 未结 22 1646
感情败类
感情败类 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条回答
  •  -上瘾入骨i
    2020-12-04 04:51

    If you're interested in a GUI for this, take a look at objbrowser. It uses the inspect module from the Python standard library for the object introspection underneath.

    objbrowserscreenshot

提交回复
热议问题