Cómo leer varios archivos en un bucle en Python
import numpy as np
files = ["a.txt", "b.txt"]
for file in files:
print(np.loadtxt(file, skiprows=1))
Clumsy Capybara
import numpy as np
files = ["a.txt", "b.txt"]
for file in files:
print(np.loadtxt(file, skiprows=1))