with as
等同于
try:
fd = open(filename, 'wb')
fd.write(chunk)
except:
pass
finally:
fd.close()
等同于
try:
fd = open(filename, 'wb')
fd.write(chunk)
except:
pass
finally:
fd.close()
2017-12-18
输入pip install gunicore httpbin命令行之后,会出现:Could not find a version that satisfies the requirement gunicore (from versions: )
No matching distribution found for gunicore
解决:pip install httpbin
在下载过程中会发现存在“Collecting Gunicorn (from Flask-Common->httpbin)”
No matching distribution found for gunicore
解决:pip install httpbin
在下载过程中会发现存在“Collecting Gunicorn (from Flask-Common->httpbin)”
2017-12-13
Command "python setup.py egg_info" failed with error code 1 in ~\appdata\local\temp\pip-build-k9xaoc\meinheld\
2017-12-07
我用的是小黄人:http://upload-images.jianshu.io/upload_images/1031810-bc15937f28c281dc.jpeg?imageMogr2/auto-orient/strip%7CimageView2/2
2017-11-26