def METHOD_NAME(dire):
    import shutil
    for root, dirs, files in os.walk(dire):
        if '.ipynb_checkpoints' in root:
            shutil.rmtree(root)
    for root, dirs, files in os.walk(dire):
        if '.ipynb_checkpoints' in root:
            print(root)