报错的代码片段如下:
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
操作系统:win10
浮云间
相关分类