Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ parsefile
Function
parsefile
recipes/Python/52256_Check_xml_wellformedness/recipe-52256.py:6–9 ·
view source on GitHub ↗
(file)
Source
from the content-addressed store, hash-verified
4
import
sys
5
6
def
parsefile(file):
7
parser = make_parser()
8
parser.setContentHandler(ContentHandler())
9
parser.parse(file)
10
11
for
arg in sys.argv[1:]:
12
for
filename in glob(arg):
Callers
1
recipe-52256.py
File · 0.85
Calls
1
parse
Method · 0.45
Tested by
no test coverage detected