code: def select(self):
          
          print("\nDetected Slackware binary package for installation:\n")
          for pkg in self.packages:
              print(" " + pkg.split("/")[-1])
          print("")
          self.msg.template(78)
          print("| Choose a Slackware command:")
          self.msg.template(78)
          for com in sorted(self.commands):
              print("| {0}{1}{2}) {3}{4}{5}".format(
                  self.meta.color["RED"], com, self.meta.color["ENDC"],
                  self.meta.color["GREEN"], self.commands[com],
                  self.meta.color["ENDC"]))
          self.msg.template(78)
          try:
              self.choice = raw_input(" > ")
          except EOFError:
              print("")
              raise SystemExit()
          if self.choice in self.commands.keys():
              sys.stdout.write("   \x1b[1A{0}{1}{2}\n\n".format(
                  self.meta.color["CYAN"], self.commands[self.choice],
                  self.meta.color["ENDC"]))
              sys.stdout.flush()
          self.execute()
docs: Select Slackware command