Exemplo n.º 1
0
def check():  # returns False if there is a problem initializing the state
    import termios
    try:
        _get_reader()
    except termios.error:
        return False
    return True
Exemplo n.º 2
0
def check():     # returns False if there is a problem initializing the state
    import termios
    try:
        _get_reader()
    except termios.error:
        return False
    return True
Exemplo n.º 3
0
def check():  # returns False if there is a problem initializing the state
    try:
        _get_reader()
    except _error:
        return False
    return True
Exemplo n.º 4
0
def check():     # returns False if there is a problem initializing the state
    try:
        _get_reader()
    except _error:
        return False
    return True