⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test_xml.py

📁 minimal python variant for small footprint apps like embedded apps
💻 PY
字号:
'''Test module to thest the xmllib module.   Sjoerd Mullender'''from test_support import verbosetestdoc = """\<?xml version="1.0" encoding="UTF-8" standalone='yes' ?><!-- comments aren't allowed before the <?xml?> tag,     but they are allowed before the <!DOCTYPE> tag --><!DOCTYPE greeting [  <!ELEMENT greeting (#PCDATA)>]><greeting>Hello, world!</greeting>"""import xmllibif verbose:	parser = xmllib.TestXMLParser()else:	parser = xmllib.XMLParser()for c in testdoc:	parser.feed(c)parser.close()

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -