remove lines from textfile with python,"open('newfile.txt', 'w').writelines(lines[3:-1])"