[Solved] Allow User to Name New File [closed]


all you need to do is on the line

output_file = open(file_name+".ecg", "w")

replace it with

output_file = open(args.new_filename, 'w')

solved Allow User to Name New File [closed]