So lesen Sie mehrere Dateien in einer Schleife in Python
import numpy as np
files = ["a.txt", "b.txt"]
for file in files:
print(np.loadtxt(file, skiprows=1))
Clumsy Capybara