![图片[1]-怎么看python包的版本-uusu优素-乐高,模型,3d打印,编程](http://uusucn.zbbe.cn/wp-content/uploads/2024/01/5e8703373d3ac649.jpg)
查看模块的版本有两种方法,具体如下
1.模块名.version:
>>>importrequests >>>requests.__version__ '2.18.4'
2.help(模块名) 看大概倒数的 VERSION 即版本号
>>>help(requests) ... VERSION 2.18.4 AUTHOR KennethReitz FILE d:\python\python35\lib\site-packages\requests\__init__.py原文来自:https://www.py.cn
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END


















































暂无评论内容