It is danger to use Python shutil.rmtree () to remove a symbolic link directory in Windows because the function recursively remove files under a given directory. We should replace it with.
os.system ("rd \"%s\"" % Dir)
os.system ("rd \"%s\"" % Dir)
This is a great poost thanks
ReplyDelete