[{"sip":[{"sip":"34463","uuid":"4dm0217817000361"}]}] 如何获取 sip 和uuid值
时间: 2023-12-31 09:25:02 浏览: 42
Data-UUID-0.14.tar.gz_Data::uuid_uuid
您可以使用以下代码来获取"sip"和"uuid"的值:
```python
data = [{"sip":[{"sip":"34463","uuid":"4dm0217817000361"}]}]
sip_value = data[0]["sip"][0]["sip"]
uuid_value = data[0]["sip"][0]["uuid"]
print("sip value:", sip_value) # 输出:34463
print("uuid value:", uuid_value) # 输出:4dm0217817000361
```
阅读全文