ID EN
Urllib Request

prompt_user_passwd

Python 3.11

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.

Syntax

PYTHON
prompt_user_passwd(host, realm)