code: def complete_db(self, text, line, begidx, endidx):
          ''' Tab-complete db command '''
          return  [i for i in PsiturkNetworkShell.db_commands if \
                   i.startswith(text)f complete_db(self, text, line, begidx, endidx):
          ''' Tab-complete db command '''
          return  [i for i in PsiturkNetworkShell.db_commands if \
                   i.startswith(text)]
docs: Tab-complete db command