示例#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
示例#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
示例#3
0
def check():  # returns False if there is a problem initializing the state
    try:
        _get_reader()
    except _error:
        return False
    return True
示例#4
0
def check():     # returns False if there is a problem initializing the state
    try:
        _get_reader()
    except _error:
        return False
    return True