Is it possible to run such part of code in for cycle, please? How to change variables on the left?
A = np.loadtxt('f1.txt', unpack=True)
B = np.loadtxt('f2.txt', unpack=True)
C = np.loadtxt('f3.txt', unpack=True)
D = np.loadtxt('f4.txt', unpack=True)
I tried this, but it is not the right usage of eval function, right?
p = ['A', 'B', 'C', 'D']
#eval(p[0]) = np.loadtxt('f1.txt', unpack=True)