""" dir([object]) -> list of strings
If called without an argument, return the names in the current scope.
Else, return an alphabetized list of names comprising (some of) the attributes
of the given object, and of attributes reachable from it.
If the object supplies a method named __dir__, it will be used; otherwise
the default dir() logic is used and returns:
for a module object: the module's attributes.
for a class object: its attributes, and recursively the attributes
of its bases.
for any other object: its attributes, its class's attributes, and recursively the attributes of its class's base classes. """
相关文章
- MySql 查询数据库中所有表名以及对比分布式库中字段和表的不同
- Ubuntu 和 Redhat / Fedora 服务管理命令对比表(附Fedora16新的服务管理工具systemctl )
- Java中vector的使用详解、enumeration枚举接口的和iterator的区别、vector与list的对比
- java基础知识点(while循环、do....while循环以及while和for循环之间的对比)
- Python中Opencv和PIL.Image读取图片的差异对比
- 全网最详细的Eclipse和MyEclipse里对于Java web项目发布到Tomcat上运行成功的对比事宜【博主强烈推荐】【适合普通的还是Maven方式创建的】(图文详解)
- Python 由__dict__和dir()引发的一些思考
- m基于matlab的光通信误码率仿真,分别对比了OFDM+BPSK和OFDM+4QAM的误码率和星座图
- 四层和七层负载均衡的特点及常用负载均衡Nginx、Haproxy、LVS对比
- 对ie和ff浏览器性能的一个数据对比