建议直接取numpy.array形式输出后再转为list import numpy as np a = np.random.rand(2,2,3) print(a) # a = a.tolist() print(a[0,:,1].tolist())