Created
July 15, 2015 03:35
-
-
Save Schachte/865ebe8df97e5246dfc2 to your computer and use it in GitHub Desktop.
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
for child in root: | |
if child.attrib['major'] == str(hex(int(major_bits[::-1], 2))) and child.attrib['minor'] == str(hex(int(minor_bits[::-1], 2))): | |
command_name = str(child.attrib['name']) | |
print 'inside of this' | |
for grandchild in child.getchildren(): | |
print str(grandchild.attrib['bytes']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment