我有一个类似这样的JSON:
[
{
"weburl": "https://google.com/athens",
"location": "Greece"
},
{
"weburl": "https://google.com/rome",
"location": "Italy"
}
...
]
我想做的是创建一个函数,将这个json传递给
我在Python中很难做到这一点(特别是在key、value中导航并调用urlparse),如果有任何帮助,我将不胜感激
谢谢
因为在您的示例中,它似乎是一个字典列表,假设Python-3.x,我建议您尝试:
相关问题 更多 >
编程相关推荐