def cleaner(env_path):
 if os.path.exists(env_path):
  shutil.rmtree(env_path)

def cleaner ( env_path ) : if os . path . exists ( env_path ) : shutil . rmtree ( env_path )
checks that an environment path exists and .