Summary
The GetPackageInfo function returns a dictionary of package information.
Syntax
GetPackageInfo (input_package)
Parameter | Explanation | Data Type |
input_package | The path to the package file. | String |
Return Value
Data Type | Explanation | ||||||||||||||||
Dictionary | Returns a dictionary of key-value pairs.
|
Code sample
Returns information about a package.
import arcpy
import pprint
pprint.pprint(arcpy.GetPackageInfo("c:/packages/maps/Leith.mpk"))