• Home

Search Previous post Next post Back to top Share post

读取Python列表中,字典的value

2022-11-12
2869
默认分类

有些情形下,需要读取的列表中,都是字典。我们读取字典的value时候,需要进行循环。

Asin = [{'Asin': b2b}]
for item in Asin:
    print(item['ASIN'])

参考链接:
https://blog.csdn.net/DL_min/article/details/78259920

本文链接:

https://martin.cool/archives/640.html
Copyright © 2025 By Martin.Cool ^_^
  • Home