with可以自行释放资源,因而打开图片open()消耗的资源可以自行关闭,但是requests.get打开的stream,需要使用closing转换成上下文对象,然后再释放掉。不知道这样理解对不对
2018-01-29
# 被玩坏了,最新结果如下:
{
"message": "Bad credentials",
"documentation_url": "https://developer.github.com/v3"
}
{
"message": "Bad credentials",
"documentation_url": "https://developer.github.com/v3"
}
2018-01-25
报错了AttributeError: 'str' object has no attribute 'json'
2018-01-10