def main(): with open("", "rt") as f: lines = [line.rstrip() for line in f.readlines()] if __name__ == "__main__": main()