python shutil rmtree windows on folder desktop code example Example: python dlete folder import shutil shutil.rmtree('/folder_name')