def __init__(self, host, username='root', password=None, port=None,
                 interactive=False):
        """
        Parameters
        ----------
        interactive: bool, default False
            If True then prompts for password whenever necessary
        """
        self.host = host
        self.port = port
        self.username = username
        self.password = password
        self.interactive = interactive
        self.pwd = '~'
        self._con = None
def __init__ ( self , host , username = 'root' , password = None , port = None , interactive = False ) : self . host = host self . port = port self . username = username self . password = password self . interactive = interactive self . pwd = '~' self . _con = None
Parameters
        ----------
        interactive: bool, default False
            If True then prompts for password whenever necessary