所以我试图在网站上打开一个网站/网址提取excel文件,编辑它,然后把它放在不同的网站上.我在这个网站上发现了另一条评论,对于如何使用它有很好的建议import pandas.我从python网站下载了pandas(以及其他一些模块),并编写了代码.但是当我尝试运行它时,我收到以下错误
Warning (from warnings module):
File "C:\Python27\lib\site-packages\pandas\io\excel.py", line 626
.format(openpyxl_compat.start_ver, openpyxl_compat.stop_ver))
UserWarning: Installed openpyxl is not supported at this time. Use >=1.6.1 and <2.0.0.
Traceback (most recent call last):
File "C:\Python27\more_url_stuff.py", line 6, in <module>
socket = urllib2.urlopen(link)
File "C:\Python27\lib\urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 410, in open
response = meth(req, response)
File "C:\Python27\lib\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Python27\lib\urllib2.py", line 448, in error
return …Run Code Online (Sandbox Code Playgroud)