|
|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
Traceback (most recent call last):
File "C:\Users\lenovo\Desktop\weather\weahter.py", line 16, in <module>
weatherJSON = json.JSONDecoder().decode(weatherHTML)#创建json
File "C:\Python\Python34\lib\json\decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python\Python34\lib\json\decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)
出现以上的错误是怎么回事
|
|