urllib.request.FancyURLopener.prompt_user_passwd()

prompt_user_passwd(host, realm)

Return information needed to authenticate the user at the given host in the specified security realm. The return value should be a tuple, (user, password), which can be used for basic authentication.

The implementation prompts for this information on the terminal; an application should override this method to use an appropriate interaction model in the local environment.

doc_python
2016-10-07 17:46:51
Comments
Leave a Comment

Please login to continue.