Extract Package (Data Management)
Summary
Extracts the contents of a layer or map package to a specified folder. The contents of the output folder is updated with the contents of the input package.
Usage
Syntax
ExtractPackage_management (in_package, output_folder)
Parameter | Explanation | Data Type |
in_package |
The input package that will be extracted. | File |
output_folder |
The output folder that will contain the contents of the package. | Folder |
Code Sample
ExtractPackage Example (Python window)
The following Python window script demonstrates how to use the ExtractPackage tool in immediate mode.
import arcpy arcpy.env.workspace = "C:/arcgis/ArcTutor/Getting_Started/Greenvalley" arcpy.ExtractPackage_management('WaterUsePackage.lpk', 'C:/My_Data/Packages/WaterUse_unpacked')
Environments
Related Topics
Licensing Information
ArcView: Yes
ArcEditor: Yes
ArcInfo: Yes
10/27/2014