📜  如何在python代码示例中循环读取多个文件

📅  最后修改于: 2022-03-11 14:46:42.004000             🧑  作者: Mango

代码示例1
import numpy as np
files = ["a.txt", "b.txt"]
for file in files:
  print(np.loadtxt(file, skiprows=1))