python数组字符串还原为数组
摘要:1 # coding=utf-8 2 s = '[[[0,0,0],[0,0,0],[0,0,0]],[[1,1,1],[1,1,1],[1,1,1]],[[2,2,2],[2,2,2],[2,2,2]]]' 3 print(s[0]) 4 x = eval(s) 5 print(x) 6 prin
阅读全文
posted @ 2021-06-30 16:46
posted @ 2021-06-30 16:46
posted @ 2021-06-28 14:28
posted @ 2021-06-28 14:20
posted @ 2021-06-23 14:47