pygeek_stellar/utils/user_input.py
def password_input(msg):
    """
    This methods should be used to request a password input from the user. With
    this method the password inserted by the user will not be displayed on the
    screen. It also exits gracefully in case of a KeyboardInterrupt signal (ctr+c)
    being received.
    :param str msg: Message to be displayed to the user.
    :return: Returns the password inserted by the user.
    :rtype: str
    """
    try:
        return getpass.getpass('{}: '.format(msg))
    except KeyboardInterrupt:
        print('\n\nExiting..')
        raise SystemExit

    This methods should be used to request a password input from the user. With
    this method the password inserted by the user will not be displayed on the
    screen. It also exits gracefully in case of a KeyboardInterrupt signal (ctr+c)
    being received.
    :param str msg: Message to be displayed to the user.
    :return: Returns the password inserted by the user.
    :rtype: str
    
This methods should be used to request a password input from the user. With
this method the password inserted by the user will not be displayed on the
screen. It also exits gracefully in case of a KeyboardInterrupt signal (ctr+c)
being received.
This methods should be used to request a password input from the user . With this method the password inserted by the user will not be displayed on the screen . It also exits gracefully in case of a KeyboardInterrupt signal ( ctr + c ) being received .
def password_input(msg):
    try:
        return getpass.getpass('{}: '.format(msg))
    except KeyboardInterrupt:
        print('\n\nExiting..')
        raise SystemExit
def password_input ( msg ) : try : return getpass . getpass ( '{}: ' . format ( msg ) ) except KeyboardInterrupt : print ( '\n\nExiting..' ) raise SystemExit
This methods should be used to request a password input from the user.
This methods should be used to request a password input from the user .
"""
    This methods should be used to request a password input from the user. With
    this method the password inserted by the user will not be displayed on the
    screen. It also exits gracefully in case of a KeyboardInterrupt signal (ctr+c)
    being received.
    :param str msg: Message to be displayed to the user.
    :return: Returns the password inserted by the user.
    :rtype: str
    """
Returns the password inserted by the user.
Returns the password inserted by the user .
str
msg
Message to be displayed to the user.
Message to be displayed to the user .