catandcoffee / playground Goto Github PK
View Code? Open in Web Editor NEW练手用的
License: GNU General Public License v3.0
练手用的
License: GNU General Public License v3.0
小萌新一个,对python并不了解,折腾一下午也还是根本不会用
能否把资源分享出来,百度云来一个?
经过我在寒假,仔细刻苦地学习我那一知半解的编程,运行又失败了。
首先我根据您说的
下载图片的时候可能需要更换urlImageBase变量的值 2019-02-07分到的分流服务器是http://n2.1whour.com/
2019-02-10分到的则是http://n8.1whour.com/ 理论上是不需要更换的,从哪个服务器下载都可以,但是如果真的无法下载,则需要你自己看一下你被分到哪个分流服务器了(访问图片链接就知道了)
然后我去找了图片页面
(链接:https://s1.kukudm.com/kuku4comic4/mkxdcdcp/Vol_01/kkdm006XEI.jpg)
修改了程序:urlImageBase = 'https://s1.kukudm.com'
然后再运行
就又会报错
c:\Users\admin\Desktop\railgun>cd c:\Users\admin\Desktop\railgun && cmd /C "set "PYTHONIOENCODING=UTF-8" && set "PYTHONUNBUFFERED=1" && C:\Users\admin\AppData\Local\Programs\Python\Python36-32\python.exe c:\Users\admin.vscode\extensions\ms-python.python-2020.1.58038\pythonFiles\ptvsd_launcher.py --default --nodebug --client --host localhost --port 2677 c:\Users\admin\Desktop\railgun\railgun.py "
Traceback (most recent call last):
File "c:\Users\admin.vscode\extensions\ms-python.python-2020.1.58038\pythonFiles\ptvsd_launcher.py", line 43, in
main(ptvsdArgs)
File "c:\Users\admin.vscode\extensions\ms-python.python-2020.1.58038\pythonFiles\lib\python\old_ptvsd\ptvsd_main_.py", line 432, in main
run()
File "c:\Users\admin.vscode\extensions\ms-python.python-2020.1.58038\pythonFiles\lib\python\old_ptvsd\ptvsd_main_.py", line 316, in run_file
runpy.run_path(target, run_name='main')
File "C:\Users\admin\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\admin\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\admin\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "c:\Users\admin\Desktop\railgun\railgun.py", line 45, in
os.mkdir("./" + str(dirName))
FileExistsError: [WinError 183] 当文件已存在时,无法创建该文件。: './1某科学的超电磁炮_Vol_1'
运行后会得到的文件目录:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.