Exemplo n.º 1
0
def main():
    set_up()

    run_notice(MODEL_NAME)
    # get_env() returns a callable object:
    get_env()()
    return 0
Exemplo n.º 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
Exemplo n.º 3
0
def main():
    set_up()
    run_notice(MODEL_NAME)
    get_env()()
    return 0