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)


暂无数据
推荐帖子
0条评论
0条评论
3条评论