Skip to content

Commit

Permalink
全部签名
Browse files Browse the repository at this point in the history
  • Loading branch information
LaoshuBaby committed Dec 24, 2021
1 parent 1e3c915 commit 95b4240
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions 开发测试/课表解析DOM方法.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#课表解析DOM方法.py
#STUAT
#
#Created by Xiexiaopeng on 2021/12/4
#Copyleft © 2020-2021 Student Network Center Of BUCT.
#Licensed by GPL-3.0
#

import xml.dom.minidom
DOMTree = xml.dom.minidom.parse("test.xml")#
weekday = DOMTree.documentElement.getElementsByTagName("NUM_WEEKDAY")[0].childNodes[0].data
Expand Down
8 changes: 8 additions & 0 deletions 开发测试/课表解析Xpath方法.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#课表解析Xpath方法.py
#STUAT
#
#Created by Xiexiaopeng on 2021/12/3
#Copyleft © 2020-2021 Student Network Center Of BUCT.
#Licensed by GPL-3.0
#

from lxml import etree

kebiao=etree.parse('../Docs/NewSimple.xml',base_url="../Docs/Schema.xsd")
Expand Down
8 changes: 8 additions & 0 deletions 解析层/课表测试.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#课表测试.py
#STUAT
#
#Created by wuliiiii on 2021/11/3
#Copyleft © 2020-2021 Student Network Center Of BUCT.
#Licensed by GPL-3.0
#

import xml.dom.minidom
DOMTree = xml.dom.minidom.parse("test.xml")#
weekday = DOMTree.documentElement.getElementsByTagName("NUM_WEEKDAY")[0].childNodes[0].data
Expand Down

0 comments on commit 95b4240

Please sign in to comment.