Last active
December 19, 2019 03:56
-
-
Save re4388/f12421d0a65692d2d42c1f54a4a799e4 to your computer and use it in GitHub Desktop.
ElementTree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_expire_date(fid): | |
tree = ET.fromstring(info_s) | |
for root in tree.iter(): | |
for child_of_root in root: | |
if child_of_root.tag == 'feature': | |
print(child_of_root.attrib['id']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment