使用交互式 ipython 选项卡完成时,有没有一种方法可以轻松识别哪些返回值是properties,哪些是methods?
我用os下面的例子。我看不出有任何区别。我知道这可以做到,dir但想知道在 ipython 中是否已经有办法做到这一点。看来这可以节省时间。
os.
Display all 203 possibilities? (y or n)
os.EX_CANTCREAT      os.confstr_names     os.pardir
os.EX_CONFIG         os.ctermid           os.path
os.EX_DATAERR        os.curdir            os.pathconf
os.EX_IOERR          os.defpath           os.pathconf_names
os.EX_NOHOST         os.devnull           os.pathsep
...