see:Python 的 dir() 用于人类

时间:2021-07-24 02:21:40
【文件属性】:
文件名称:see:Python 的 dir() 用于人类
文件大小:43KB
文件格式:ZIP
更新时间:2021-07-24 02:21:40
python python-library pypi developer-tools python-development 参见:人类目录 see是dir()的替代方法,适用于 Python 2.7 和 3.4+。 它巧妙地总结了您可以对对象执行的操作。 使用它来检查您的代码或学习新的 API。 例子 假设您有一个想要了解更多信息的对象: >>> from datetime import timedelta 尝试使用see检查对象: >>> see(timedelta) isclass + - * / // % +obj -obj < <= == != >
【文件预览】:
see-main
----MANIFEST.in(84B)
----.github()
--------ISSUE_TEMPLATE.md(274B)
--------PULL_REQUEST_TEMPLATE.md(131B)
----CHANGELOG.rst(7KB)
----.pylintrc(13KB)
----see()
--------exceptions.py(225B)
--------term.py(2KB)
--------output.py(4KB)
--------__init__.py(349B)
--------tools.py(1KB)
--------inspector.py(4KB)
--------features.py(6KB)
----requirements.txt(202B)
----AUTHORS.rst(945B)
----TODO.md(494B)
----.travis.yml(698B)
----LICENSE(1KB)
----setup.cfg(28B)
----setup.py(2KB)
----README.md(3KB)
----Makefile(545B)
----.appveyor.yml(846B)
----docs()
--------authors.rst(59B)
--------install.rst(842B)
--------startup.rst(843B)
--------conf.py(6KB)
--------usage.rst(2KB)
--------README.md(215B)
--------index.rst(3KB)
--------Makefile(605B)
--------license.rst(2KB)
--------dev()
--------_static()
----.editorconfig(349B)
----tests()
--------test_term_width.py(4KB)
--------__init__.py(0B)
--------test_mod_tools.py(2KB)
--------test_unicode.py(2KB)
--------test_mod_inspector.py(3KB)
--------test_mod_term.py(499B)
--------test_mod_output.py(4KB)
--------test_see_result.py(2KB)
----CODE_OF_CONDUCT.md(3KB)
----.gitignore(1KB)
----.coveragerc(307B)
----extra()
--------see.sublime-project(574B)
--------README.md(306B)
--------vimrc(73B)

网友评论