import numpy as np M = np.loadtxt('datafil_1.txt', delimiter=' ') A1 = M[:, 0] A2 = M[:, 1] print('M =', M) print('A1 =', A1) print('A2 =', A2)