with open("numbers.txt") as new_file: it shows, with open("numbers.txt") as new_file: ~~~~^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'numbers.txt' this error Continue reading...