Hello,
Waht is wrong my code python? My idea is : i have a directory with subfolder and i need to delete them.
My test into script to delete just one subfolder.
import fme
import fmeobjects
import os
def existe(feature):
existesim = str
existe = os.path.exists('C://Suportes//2016//PRODAM//Fanout_Cesar//ver//ANHANGUERA/')
feature.setAttribute('existesim', existe)
os.remove('C:/Suportes/2016/PRODAM/Fanout_Cesar/ver/ANHANGUERA')
pass
Thanks in Advance,