import numpy as np
a = np.loadtxt('/Users/matt/Downloads/output.txt')

 

https://blog.csdn/heyijia0327/article/details/42506063

更多推荐

python 读txt中的数字(必须中间是空格)