<human>:  Read lines containing integers from a file in Python?
<bot>: Here is some code to strip and split each line `line` on white spaces

line.strip().split(' ')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.