def delete_app_tars(location):
 for (dir_path, _, filenames) in os.walk(location):
  for filename in filenames:
   if (not remove('{0}/{1}'.format(dir_path, filename))):
    return False
 return True

def delete_app_tars ( location ) : for ( dir_path , _ , filenames ) in os . walk ( location ) : for filename in filenames : if ( not remove ( '{0}/{1}' . format ( dir_path , filename ) ) ) : return False return True
deletes applications tars from the designated location .