当前位置: 首页>>代码示例 >>用法及示例精选 >>正文


Python ArcGIS User.folders用法及代码示例


本文简要介绍 python 语言中 arcgis.gis.User.folders 的用法。

用法:

property folders

返回:

List of folders represented as dictionaries. Dictionary keys include: username, folder id (id), title, and date created (created)

# Example to get name of all folders

user = User(gis, username)
folders = user.folders
for folder in folders:
    print(folder["title"])

# Example to get id of all folders

user = User(gis, username)
folders = user.folders
for folder in folders:
    print(folder["id"])

folders 属性在调用时会检索用户文件夹的列表。

相关用法


注:本文由纯净天空筛选整理自arcgis.com大神的英文原创作品 arcgis.gis.User.folders。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。