code: def prompt(self):
          
          self.msg.template(78)
          print("| Choose what to do file by file:")
          print("| {0}K{1}{2}eep, {3}O{4}{5}verwrite, {6}R{7}{8}emove, "
                "{9}D{10}{11}iff, {12}M{13}{14}erge, {15}Q{16}{17}uit".format(
                    self.red, self.endc, self.br, self.red, self.endc, self.br,
                    self.red, self.endc, self.br, self.red, self.endc, self.br,
                    self.red, self.endc, self.br, self.red, self.endc, self.br))
          self.msg.template(78)
          print("")
          self.i = 0
          try:
              while self.i < len(self.news):
                  self.question(self.news[self.i])
                  self.i += 1
          except EOFError:
              print("")
              raise SystemExit()
docs: Select file