getName('%Value%')
import os def getName(inPath): sName = inPath.split(os.sep) gdbName = sName[len(sName) - 2] finalName = gdbName.strip('.gdb') return finalName
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.