def set_password(self, service, username, password):
collection = self.get_preferred_collection()<EOL>attributes = {<EOL>"<STR_LIT>": self.appid,<EOL>"<STR_LIT>": service,<EOL>"<STR_LIT:username>": username<EOL>}<EOL>label = "<STR_LIT>".format(username, service)<EOL>collection.create_item(label, attributes, password, replace=True)<EOL>
Set password for the username of the service