I\'m new to python and the way it handles variables and arrays of variables in lists is quite alien to me. I would normally read a text file into a vector and then copy the
A possible solution:
lines = [ l for l in open("Output.txt")] file = open('Output.txt', 'w') file.write(lines[-3:0]) file.close()