热线电话:13121318867

登录
2019-01-20 阅读量: 745
解释 help() 函数和 dir()函数的作用是什么?

help() 函数返回帮助文档和参数说明:

运行结果如下:

Help on function copy in module copy
copy(x)
Shallow copy operation on arbitrary Python objects.
See the module』s doc string for more info.

dir() 函数返回对象中的所有成员 (任何类型)。

0.0000
4
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子