def main(world_folder):
    world = WorldFolder(world_folder)
    
    try:
        for chunk in world.iter_nbt():
            print_results(chests_per_chunk(chunk["Level"]))

    except __HOLE__:
        return 75 # EX_TEMPFAIL
    
    return 0 # NOERR
dataset/ETHPy150Open twoolie/NBT/examples/chest_analysis.py/main