(self, std, needed=True)
This method is used to get a password.

        The pasword will not be displayed during typing.

        std is a string that should be displayed. If needed is True it
        is not possible to return an emptry string.
This method is used to get a password.
This method is used to get a password .
def get_password(self, std, needed=True):
        '''This method is used to get a password.

        The pasword will not be displayed during typing.

        std is a string that should be displayed. If needed is True it
        is not possible to return an emptry string.

        '''
        password = Editor(self.stdscr, max_text_size=1, win_location=(0, 1),
                          win_size=(1, self.xsize), title=std, pw_mode=True)()
        if needed is True and not password:
            return False
        else:
            return password
def get_password ( self , std , needed = True ) : password = Editor ( self . stdscr , max_text_size = 1 , win_location = ( 0 , 1 ) , win_size = ( 1 , self . xsize ) , title = std , pw_mode = True ) ( ) if needed is True and not password : return False else : return password