Here is one way:
with open('in.txt', 'r') as f:
for line in f:
for s in line.split(' '):
num = int(s)
print num
By performing for line in f, you read bit by bit (using neither read() all, nor readlines). Important because your file is large.
Then you break each line into spaces and read each number as you go.
You can make more mistakes than this simple example, which will be barf if the file contains corrupted data.
, - , , , - , .