Your IP : 3.137.185.202
Current Path : /lib64/python2.7/ |
|
Current File : //lib64/python2.7/getpass.pyc |
�
zfc @ s9 d Z d d l Z d d l Z d d l Z d d d g Z d e f d � � YZ d d d � Z d d d � Z d d d
� Z
d d d d � Z d
� Z y d d l
Z
e
j e
j f Wnu e e f k
r.y d d l Z WnE e k
r$y d d l m Z Wn e k
re
Z q+Xe Z q5Xe Z n Xe Z d S( s� 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.
On the Mac EasyDialogs.AskPassword is used, if available.
i����Nt getpasst getusert GetPassWarningc B s e Z RS( ( t __name__t
__module__( ( ( s /usr/lib64/python2.7/getpass.pyR s s
Password: c
C s� d } d } yJ t j d t j t j B� } t j | d d � } | } | sU | } n Wnj t k
r� } y t j j � } Wn&