第一章遇到解析天气数据失败的问题 #427
sophiedeeeeee
started this conversation in
General
Replies: 1 comment
-
|
FirstAgentTest.py |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
-
发现原因是wttr.in返回的json会多一层data,改成这样就好了:current_condition = data['data']['current_condition'][0]
Beta Was this translation helpful? Give feedback.
All reactions