鱼C论坛

 找回密码
 立即注册
查看: 2662|回复: 3

求助大佬们我想把列表里面的数据提出来该怎么提取啊

[复制链接]
发表于 2021-4-25 20:25:17 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
{"date":20210423,"time":154512,"total":1911,"begin":0,"end":25,"list":[["600000","浦发银行",10.42,10.47,10.38,10.43,10.43,0.00,24825285,259051575,"E110",0.00,0.86,"ASH","   D  F             "],["600004","白云机场",13.02,13.06,12.79,12.93,13.04,-0.84,10303861,132959931,"E110",-0.11,2.07,"ASH","   D  F             "],["600006","东风汽车",6.77,6.81,6.60,6.60,6.74,-2.08,52169702,348149938,"E110",-0.14,3.12,"ASH","   D  F             "],["600007","中国国贸",12.52,12.66,12.47,12.63,12.52,0.88,1494700,18782251,"E110",0.11,1.52,"ASH","   D  F             "],["600008","首创股份",3.00,3.00,2.96,2.98,3.00,-0.67,35473311,105565286,"E110",-0.02,1.33,"ASH","   D  F             "],["600009","上海机场",56.17,56.48,55.60,56.36,56.35,0.02,12392124,694799499,"E110",0.01,1.56,"ASH","   D  F             "],["600010","包钢股份",1.57,1.58,1.55,1.56,1.57,-0.64,528663424,824903379,"E110",-0.01,1.91,"ASH","   D  F             "],["600011","华能国际",4.09,4.10,4.04,4.07,4.10,-0.73,21977608,89259431,"E110",-0.03,1.46,"ASH","   D  F             "],["600012","皖通高速",7.22,7.25,7.11,7.14,7.17,-0.42,3797484,27168065,"E110",-0.03,1.95,"ASH","   D  F             "],["600015","华夏银行",6.26,6.26,6.22,6.24,6.25,-0.16,18718097,116749724,"E110",-0.01,0.64,"ASH","   D  F             "],["600016","民生银行",4.87,4.89,4.85,4.86,4.87,-0.21,60252125,292963822,"E110",-0.01,0.82,"ASH","   D  F             "],["600017","日照港  ",2.81,2.82,2.75,2.76,2.82,-2.13,18805800,52224649,"E110",-0.06,2.48,"ASH","   D  F             "],["600018","上港集团",4.54,4.58,4.50,4.52,4.54,-0.44,22152959,100272935,"E110",-0.02,1.76,"ASH","   D  F             "],["600019","宝钢股份",8.27,8.74,8.22,8.64,8.29,4.22,205330275,1750740965,"E110",0.35,6.27,"ASH","   D  F             "],["600020","中原高速",3.31,3.32,3.27,3.29,3.32,-0.90,6648278,21865160,"E110",-0.03,1.51,"ASH","   D  F             "],["600021","上海电力",7.16,7.21,7.03,7.08,7.16,-1.12,14409441,101968621,"E110",-0.08,2.51,"ASH","   D  F             "],["600022","山东钢铁",1.75,1.78,1.71,1.77,1.74,1.72,197017784,345551491,"E110",0.03,4.02,"ASH","   D  F             "],["600023","浙能电力",3.69,3.71,3.67,3.67,3.70,-0.81,17143205,63105908,"E110",-0.03,1.08,"ASH","   D  F             "],["600025","华能水电",5.85,5.86,5.48,5.70,6.00,-5.00,118654211,669898968,"E110",-0.30,6.33,"ASH","   D  F             "],["600026","中远海能",6.37,6.37,6.25,6.29,6.36,-1.10,12728336,79966272,"E110",-0.07,1.89,"ASH","   D  F             "],["600027","华电国际",3.45,3.46,3.40,3.42,3.46,-1.16,21709701,74312228,"E110",-0.04,1.73,"ASH","   D  F             "],["600028","中国石化",4.26,4.26,4.21,4.23,4.26,-0.70,96375165,407321999,"E110",-0.03,1.17,"ASH","   D  F             "],["600029","南方航空",6.66,6.72,6.47,6.55,6.69,-2.09,72635558,477487297,"E110",-0.14,3.74,"ASH","   D  F             "],["600030","中信证券",23.42,23.55,23.33,23.40,23.48,-0.34,49375978,1155874943,"E110",-0.08,0.94,"ASH","   D  F             "],["600031","三一重工",31.67,33.19,31.63,32.93,31.67,3.98,159071649,5202257924,"E110",1.26,4.93,"ASH","   D  F             "]]}


想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

发表于 2021-4-25 20:30:20 | 显示全部楼层
什么数据?需要的数据是什么?
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2021-4-25 20:56:12 | 显示全部楼层
data={"date":20210423,"time":154512,"total":1911,"begin":0,"end":25,"list":[["600000","浦发银行",10.42,10.47,10.38,10.43,10.43,0.00,24825285,259051575,"E110",0.00,0.86,"ASH","   D  F             "],["600004","白云机场",13.02,13.06,12.79,12.93,13.04,-0.84,10303861,132959931,"E110",-0.11,2.07,"ASH","   D  F             "],["600006","东风汽车",6.77,6.81,6.60,6.60,6.74,-2.08,52169702,348149938,"E110",-0.14,3.12,"ASH","   D  F             "],["600007","中国国贸",12.52,12.66,12.47,12.63,12.52,0.88,1494700,18782251,"E110",0.11,1.52,"ASH","   D  F             "],["600008","首创股份",3.00,3.00,2.96,2.98,3.00,-0.67,35473311,105565286,"E110",-0.02,1.33,"ASH","   D  F             "],["600009","上海机场",56.17,56.48,55.60,56.36,56.35,0.02,12392124,694799499,"E110",0.01,1.56,"ASH","   D  F             "],["600010","包钢股份",1.57,1.58,1.55,1.56,1.57,-0.64,528663424,824903379,"E110",-0.01,1.91,"ASH","   D  F             "],["600011","华能国际",4.09,4.10,4.04,4.07,4.10,-0.73,21977608,89259431,"E110",-0.03,1.46,"ASH","   D  F             "],["600012","皖通高速",7.22,7.25,7.11,7.14,7.17,-0.42,3797484,27168065,"E110",-0.03,1.95,"ASH","   D  F             "],["600015","华夏银行",6.26,6.26,6.22,6.24,6.25,-0.16,18718097,116749724,"E110",-0.01,0.64,"ASH","   D  F             "],["600016","民生银行",4.87,4.89,4.85,4.86,4.87,-0.21,60252125,292963822,"E110",-0.01,0.82,"ASH","   D  F             "],["600017","日照港  ",2.81,2.82,2.75,2.76,2.82,-2.13,18805800,52224649,"E110",-0.06,2.48,"ASH","   D  F             "],["600018","上港集团",4.54,4.58,4.50,4.52,4.54,-0.44,22152959,100272935,"E110",-0.02,1.76,"ASH","   D  F             "],["600019","宝钢股份",8.27,8.74,8.22,8.64,8.29,4.22,205330275,1750740965,"E110",0.35,6.27,"ASH","   D  F             "],["600020","中原高速",3.31,3.32,3.27,3.29,3.32,-0.90,6648278,21865160,"E110",-0.03,1.51,"ASH","   D  F             "],["600021","上海电力",7.16,7.21,7.03,7.08,7.16,-1.12,14409441,101968621,"E110",-0.08,2.51,"ASH","   D  F             "],["600022","山东钢铁",1.75,1.78,1.71,1.77,1.74,1.72,197017784,345551491,"E110",0.03,4.02,"ASH","   D  F             "],["600023","浙能电力",3.69,3.71,3.67,3.67,3.70,-0.81,17143205,63105908,"E110",-0.03,1.08,"ASH","   D  F             "],["600025","华能水电",5.85,5.86,5.48,5.70,6.00,-5.00,118654211,669898968,"E110",-0.30,6.33,"ASH","   D  F             "],["600026","中远海能",6.37,6.37,6.25,6.29,6.36,-1.10,12728336,79966272,"E110",-0.07,1.89,"ASH","   D  F             "],["600027","华电国际",3.45,3.46,3.40,3.42,3.46,-1.16,21709701,74312228,"E110",-0.04,1.73,"ASH","   D  F             "],["600028","中国石化",4.26,4.26,4.21,4.23,4.26,-0.70,96375165,407321999,"E110",-0.03,1.17,"ASH","   D  F             "],["600029","南方航空",6.66,6.72,6.47,6.55,6.69,-2.09,72635558,477487297,"E110",-0.14,3.74,"ASH","   D  F             "],["600030","中信证券",23.42,23.55,23.33,23.40,23.48,-0.34,49375978,1155874943,"E110",-0.08,0.94,"ASH","   D  F             "],["600031","三一重工",31.67,33.19,31.63,32.93,31.67,3.98,159071649,5202257924,"E110",1.26,4.93,"ASH","   D  F             "]]}
each = data["list"]

for i in each:
        print(i)
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2021-4-26 10:43:22 | 显示全部楼层
eval
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2025-1-9 01:28

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表