skpy/conn.py
def setUserPwd(self, user, pwd):
        """
        Replace the stub :meth:`getSkypeToken` method with one that connects via the Microsoft account flow using the
        given credentials.  Avoids storing the account password in an accessible way.

        Args:
            user (str): username or email address of the connecting account
            pwd (str): password of the connecting account
        """
        def getSkypeToken(self):
            self.liveLogin(user, pwd)
        self.getSkypeToken = MethodType(getSkypeToken, self)
def setUserPwd(self, user, pwd):
        """
        Replace the stub :meth:`getSkypeToken` method with one that connects via the Microsoft account flow using the
        given credentials.  Avoids storing the account password in an accessible way.

        Args:
            user (str): username or email address of the connecting account
            pwd (str): password of the connecting account
        """
        def getSkypeToken(self):
            self.liveLogin(user, pwd)
        self.getSkypeToken = MethodType(getSkypeToken, self)
Replace the stub :meth:`getSkypeToken` method with one that connects via the Microsoft account flow using the
        given credentials.  Avoids storing the account password in an accessible way.

        Args:
            user (str): username or email address of the connecting account
            pwd (str): password of the connecting account