News

with open(‘myfile.txt’) as my_file: file_lines = [x.rstrip(‘n’) for x in my_file] Syntactical white space might cause noses to wrinkle, and some programmers do reject Python for this reason.