Folder properties

Diese ArcGIS 3.0-Dokumentation wurde archiviert und wird nicht mehr aktualisiert. Inhalt und Links sind möglicherweise veraltet. Verwenden Sie die aktuelle Dokumentation.

Zusammenfassung

The Describe function returns the Workspace property group for folders.

For a folder, the Describe dataType property returns a value of "Folder".

Codebeispiel

Folder properties example

The following stand-alone script displays some properties for a folder:

import arcpy
 

# Create a Describe object
#
desc = arcpy.Describe("C:/data")

# Print the dataType and a workspace property
#
print("Data Type:      " + desc.dataType)
print("Workspace Type: " + desc.workspaceType)

In diesem Thema