以下是错误代码
savePath = "E:\\Desktop\\output\\?.html"
file = open(savePath, 'wb')
运行后,错误消息如下:
Traceback (most recent call last): File "Main.py", line 35, in
<module>
crawler.testSaveContent("E:\\Desktop\\output\\?.html") File
"E:\Desktop\MyCrawler.py", line 77, in testSaveContent
file = open(savePath, 'wb') OSError: [Errno 22] Invalid argument:
'E:\\Desktop\\output\\?.html'
我的python版本是3.6.3
目前没有回答
相关问题 更多 >
编程相关推荐