xfxbnb
发表于 2019-1-29 13:41:19
wo我想看看,了解一下思路
Denis0726
发表于 2019-1-29 14:10:16
这是一个好东西我想下载下来好好看看哈哈哈哈哈哈哈哈哈哈或或或或或或或或或
毛绒绒
发表于 2019-1-29 15:55:44
本帖最后由 毛绒绒 于 2019-1-30 08:55 编辑
{:10_266:}{:10_266:}{:10_266:}{:10_266:}报错如下,请教下
C:\Users\bob>cd g:\python && cmd /C "set "PYTHONIOENCODING=UTF-8" && set "PYTHONUNBUFFERED=1" && python c:\Users\bob\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\ptvsd_launcher.py --default --client --host localhost --port 2151 g:\python\爬取百度文库.py "
Traceback (most recent call last):
File "c:\Users\bob\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\ptvsd_launcher.py", line 45, in <module>
main(ptvsdArgs)
File "c:\Users\bob\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\__main__.py", line 265, in main
wait=args.wait)
File "c:\Users\bob\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\__main__.py", line 258, in handle_args
debug_main(addr, name, kind, *extra, **kwargs)
File "c:\Users\bob\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\_local.py", line 45, in debug_main
run_file(address, name, *extra, **kwargs)
File "c:\Users\bob\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\_local.py", line 79, in run_file
run(argv, addr, **kwargs)
File "c:\Users\bob\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\_local.py", line 140, in _run
_pydevd.main()
File "c:\Users\bob\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\_vendored\pydevd\pydevd.py", line 1925, in main
debugger.connect(host, port)
File "c:\Users\bob\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\_vendored\pydevd\pydevd.py", line 1283, in run
return self._exec(is_module, entry_point_fn, module_name, file, globals, locals)
File "c:\Users\bob\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\_vendored\pydevd\pydevd.py", line 1290, in _exec
pydev_imports.execfile(file, globals, locals)# execute the script
File "c:\Users\bob\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\_vendored\pydevd\_pydev_imps\_pydev_execfile.py", line 25, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "g:\python\爬取百度文库.py", line 63
url_list =
^
SyntaxError: EOL while scanning string literal
找到问题了,是语法的问题,将 url_list = 修改为 url_list = 就正常了
毛绒绒
发表于 2019-1-29 15:58:11
{:10_250:}{:10_250:}{:10_250:}{:10_250:}
rizco2003
发表于 2019-1-29 22:37:48
谢谢分享
shengzilong
发表于 2019-1-30 11:35:04
+1
兢兢
发表于 2019-1-30 11:51:07
第63行出现错误
墨水lam
发表于 2019-1-30 15:55:37
66666
aa1178773222
发表于 2019-1-30 22:04:14
学习!
2802982399
发表于 2019-1-31 17:24:24
kk
趙叁桥
发表于 2019-1-31 18:59:29
学习
乖小女卖火柴
发表于 2019-2-1 09:21:11
缴枪不杀
qs0452
发表于 2019-2-1 15:14:23
真的不么强大!太好了!
kongjkd
发表于 2019-2-1 15:23:53
是不是真的啊 官方不会
kongjkd
发表于 2019-2-1 16:00:58
下载文件是0字节
dzh1006
发表于 2019-2-1 20:37:52
66
会飞的小兔
发表于 2019-2-2 15:14:01
1
薛罡
发表于 2019-2-12 10:59:16
666
满意Maggie
发表于 2019-2-12 11:23:49
使用帖,大佬,大佬,求拯救,本人妹子
abc2363360
发表于 2019-2-12 11:39:19
学习一下