def prompt_for_credentials(self):
        credentials = {}
        if "%(username)s" in self.url:
            print("Username: ",)
            credentials["username"] = input().strip()
        if "%(password)s" in self.url:
            credentials["password"] = getpass.getpass("Password: ")
        if credentials:
            self.url = self.url % credentials
dataset/ETHPy150Open hyde/hyde/hyde/ext/publishers/pyfs.py/PyFS.prompt_for_credentials/original