Hello,
I am using python notebook on ArcGIS Pro 2.8. Please see script and screenshots. I was able to get data zip file download but unable to extract data zip file. It has FGBD as another zip file inside the zip file folder. Am I missing something?? Please kindly assist as soon as possible. I am not sure which group I can post. Thank you, Alex
from arcgis.gis import GIS
# Python Standard Library Modules
from pathlib import Path, PurePath
from zipfile import ZipFile
public_data_item_id = '123'
anon_gis = GIS(username="123", password="123")
data_item = anon_gis.content.get(public_data_item_id)
data_path = Path('C:\123')
if not data_path.exists():
data_path.mkdir()
zip_path = data_path.joinpath('PAData.zip')
extract_path = data_path.joinpath('PADataDatasets')
data_item.download(save_path=data_path)
print (PurePath(zip_path))

