''' This program does this: opens a file for reading opens another file for writing each number in the in-file is m copies all the lines in the first file, into the second file ''' input_file_name = 'numbers.txt' output_file_name = 'numbers_out.txt' in_handle = open(input_file_name, 'r') out_handle = open(output_file_name, 'w') lines = in_handle.readlines() for line in lines: out_handle.write(line) in_handle.close() out_handle.close()