-
Notifications
You must be signed in to change notification settings - Fork 0
Functions
PPPDUD edited this page Apr 7, 2026
·
4 revisions
In addition to several classes, snap-parser includes a couple of useful helper functions:
This function parses an XML string and returns a Project object:
import snap_parser
f = open("project.xml")
project = snap_parser.project_from_xml(f.read())
f.close()This function parses an XML file and returns a Project object:
import snap_parser
project = snap_parser.project_from_path("project.xml")