首页
Java
登录
6mi
u
盘
搜
搜 索
Java
Python 读取object中所有方法
Python 读取object中所有方法
xiaoxiao
2021-02-28
75
[
method
for
method
in
dir
(object)
if
callable
(getattr(object,
method
)
)]
reference: http://stackoverflow.com/questions/34439/finding-what-methods-an-object-has
转载请注明原文地址: https://www.6miu.com/read-85108.html
技术
最新回复
(
0
)