def complete_server(self, text, line, begidx, endidx):
        ''' Tab-complete server command '''
        return  [i for i in PsiturkShell.server_commands if i.startswith(text)]
Tab-complete server command