I´m new in reading text files using python. I need to read a file which have in each line 4 data that I need, here is my text file
1 -10 0 0
2 -10 -10 0
3 0 -10 0
4 10 -10 0
5 10 0 0
6 0 0 0
my problem is, that if I use read().splitlines()
, it only creates a vector with each line, but I need a vector only for the first column, one for the second, one for the third, and also one for the fourth column. Con anyone help me please?