Summary
Returns a dictionary that contains information about a package file.
Syntax
GetPackageInfo (input_package)
Parameter | Explanation | Data Type |
input_package | The path to the package file. | String |
Data Type | Explanation | ||||||||||||||||
Dictionary | A dictionary containing the properties of the package file. The dictionary keys are as follows:
|
Code sample
Returns information about a package.
import arcpy
import pprint
pprint.pprint(arcpy.GetPackageInfo("c:/packages/maps/Leith.mpkx"))