示例#1
0
def main():
    set_up()

    run_notice(MODEL_NAME)
    # get_env() returns a callable object:
    get_env()()
    return 0
示例#2
0
def main():
    set_up()
    run_notice(MODEL_NAME)
    try:
        get_env()()
    except (NoSheep, SpaceFull) as excp:
        user_tell(excp)
        user_tell("Halting model.")
    return 0
示例#3
0
def main():
    set_up()
    run_notice(MODEL_NAME)
    get_env()()
    return 0