python查看第三方库的版本_python中查看第三方库的版本号
(1)方法一import scrapyscrapy.__version__Out[13]: '1.5.1'(2)方法二help(scrapy)Help on package scrapy:NAMEscrapy - Scrapy - a web crawling and web scraping framework written for PythonPACKAGE CONTENTS__main__
(1)方法一
import scrapy
scrapy.__version__
Out[13]: '1.5.1'
(2)方法二
help(scrapy)
Help on package scrapy:
NAME
scrapy - Scrapy - a web crawling and web scraping framework written for Python
PACKAGE CONTENTS
__main__
_monkeypatches
cmdline
command
commands (package)
conf
contracts (package)
contrib (package)
contrib_exp (package)
core (package)
crawler
downloadermiddlewares (package)
dupefilter
dupefilters
exceptions
exporters
extension
extensions (package)
http (package)
interfaces
item
link
linkextractor
linkextractors (package)
loader (package)
log
logformatter
middleware
pipelines (package)
project
resolver
responsetypes
selector (package)
settings (package)
shell
signalmanager
signals
spider
spiderloader
spidermanager
spidermiddlewares (package)
...
开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!
更多推荐
所有评论(0)