code: def LoadAvatarFromFile(self, Filename, AvatarId=1):
          
          s = 'AVATAR %s %s' % (AvatarId, path2unicode(Filename))
          self._Skype._DoCommand('SET %s' % s, s)
docs: Loads user avatar picture from file.
  
          :Parameters:
            Filename : str
              Name of the avatar file.
            AvatarId : int
              Optional avatar Id.