import sys, osprint 'sys.argv[0] =', sys.argv[0] pathname = os.path.dirname(sys.argv[0]) print 'path =', pathnameprint 'full path =', os.path.abspath(pathname)
pathname = os.path.dirname(sys.argv[0])
VariableName = pathname + "/Folder/File"
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.