I have mounted a remote dir via sshfs and want to delete a dir and its content via python.
Trying
shutil.rmtree(res_dir, ignore_errors=True) os.system(