Python办公自动化类库分析程序的开发和运用  被引量:1

Development and Application of Python Office Automation Class Library Analysis Program

在线阅读下载全文

作  者:王贞杰 穆静 Wang Zhenjie;Mu Jing(Yantai Digitalized Urban Management Service Center,Yantai 246001,China)

机构地区:[1]烟台市数字化城市管理服务中心,烟台246001

出  处:《办公自动化》2024年第7期17-19,48,共4页Office Informatization

摘  要:为实现对Python办公自动化类库的分析,便于深入学习、研究类库代码,文章基于国产银河麒麟V10系统,使用Python编程语言开发Python类库分析程序,程序通过对类库文件结构及内部定义类之间的关系进行分析,将类库中类的关系以树形结构呈现出来,通过选择类名打开对应类库的文件并定位到类被定义的位置,同时增加检索入口,直接找到类库中所有父类,实现类库代码分析的可视化和智能化,通过对办公自动化类库Python-docx实例分析,使用该程序可节约学习类库的时间成本,提高学习效率和编程质量。In order to realize the analysis of Python office automation class library and facilitate in-depth study and research of class library code,this paper develops a Python class library analysis program using Python programming language based on the domestic KylinOS V10 system.The program analyzes the file structure of the class library and the relationship between the internal defined classes,and presents the relationship between the classes in the class library in the form of a tree structure,By selecting the class name to open the file of the corresponding class library and locate the location where the class is defined,at the same time,the retrieval entry is added to directly find all the parent classes in the class library,realizing the visualization and intelligentization of the code analysis on the class library.Through the example analysis on the office automation class library Python-docx,using this program can save the time cost of learning the class library and improve the learning efficiency and programming quality.

关 键 词:银河麒麟系统V10 PYTHON tkinter Python-docx 办公自动化 

分 类 号:TP317.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象