I am learning python.i have a text file named test.txt that contain data like below

```
10  20
20  15
15  12
47  25

```

and i want to read one row at a time(read [10,20] in first iteration, then [20,15] in second iteration) and want to do some execution .Thus i wrote a test code as below

```
import numpy as np
x1=np.loadtxt('test.txt')
for rows in x1:
    y=rows[:]
    print(y)

```

but it prints whole content of the text file...can anyone help me reading a row at each iteration of the for loop ? Thanks.