当前位置: 首页>>代码示例>>Python>>正文


Python Tree.html_tree方法代码示例

本文整理汇总了Python中Tree.html_tree方法的典型用法代码示例。如果您正苦于以下问题:Python Tree.html_tree方法的具体用法?Python Tree.html_tree怎么用?Python Tree.html_tree使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Tree的用法示例。


在下文中一共展示了Tree.html_tree方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1:

# 需要导入模块: import Tree [as 别名]
# 或者: from Tree import html_tree [as 别名]
#!/usr/bin/env python3

import Tree
import DCC

# This script can be used to create an html list and a spreadsheet of documents below the
# specified collection.  The main use of the code is to create CID lists in html and spreadsheet
# from from a set of collections containing CID files


froot = 'NFIRAOS CID'
coll = 'Collection-10609'
keyword_filter = ''    # if no keyword set keyword_filter = '' 

# Login to DCC
s = DCC.login(Site = 'Production') 

tr = Tree.return_tree(s, coll, froot)
Tree.xls_tree(s,tr,coll,froot, Keyword = keyword_filter)
Tree.html_tree(s,tr,froot, Keyword = keyword_filter)
开发者ID:TMTSystemsEngineering,项目名称:Utilities,代码行数:22,代码来源:Create_CID_from_Collections.py

示例2:

# 需要导入模块: import Tree [as 别名]
# 或者: from Tree import html_tree [as 别名]
#!/usr/bin/env python3

import Tree
import DCC

# This script can be used to create an html list and a spreadsheet of documents below the
# specified collection.  The main use of the code is to create CID lists in html and spreadsheet
# from from a set of collections containing CID files


froot = 'Listing of STR CID'
coll = 'Collection-10669'

# Login to DCC
s = DCC.login(Site = 'Production') 

tr = Tree.return_tree(s, coll, froot)
Tree.xls_tree(s,tr,coll,froot)
Tree.html_tree(s,tr,froot)
开发者ID:pbbarnes,项目名称:Utilities,代码行数:21,代码来源:Create_CID_from_Collections.py


注:本文中的Tree.html_tree方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。