Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ example.py
File
example.py
src/6/parsing_modifying_and_rewriting_xml/example.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# example.py
2
#
3
# Example of reading an XML document, making changes, and writing it back out
4
Callers
nothing calls this directly
Calls
2
insert
Method · 0.80
write
Method · 0.45
Tested by
no test coverage detected