U
ifj @ s d Z ddlZddlZddlZddlZddlZdddgZG dd deZddd Z dd
dZ
ddd
ZdddZdd Z
zddlZejejf W nB eefk
r zddlZW n ek
r eZY nX e
ZY nX e ZdS )a Utilities to get a password and/or the current user name.
getpass(prompt[, stream]) - Prompt for a password, with echo turned off.
getuser() - Get the user name from the environment or password database.
GetPassWarning - This UserWarning is issued when getpass() cannot prevent
echoing of the password contents while reading.
On Windows, the msvcrt module will be used.
NgetpassgetuserGetPassWarningc @ s e Zd ZdS )r N)__name__
__module____qualname__ r r ,/opt/alt/python38/lib64/python3.8/getpass.pyr s
Password: c
C s d}t }zJtdtjtjB }t|d}|| t |}|| |sX|}W np t
k
r } zR| ztj
}W n& ttfk
r d}t| |}Y nX tj
}|stj}W 5 d}~X Y nX |dk rzt|}|dd } | d tj M <