mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2026-01-01 01:10:40 +00:00
Debugging with a jupyter notebook
This commit is contained in:
@@ -9,10 +9,7 @@ class WavIXMLFormat:
|
||||
self.parsed = ET.fromstring(xml)
|
||||
|
||||
def _get_text_value(self, xpath):
|
||||
print("xpath",xpath)
|
||||
print("search", "./" + xpath)
|
||||
e = self.parsed.find("./" + xpath)
|
||||
print("result was", e)
|
||||
if e is not None:
|
||||
return e.text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user