Created
March 20, 2012 06:19
-
-
Save TkTech/2131945 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
nbt = NBTFile('out.nbt') | |
for name, tag in nbt.value.iteritems(): | |
print name, tag |
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
-> % python dummy.py | |
long_test TAG_Long('long_test', 104005) | |
list_test TAG_List('list_test', [TAG_String(None, 'Timmy'), TAG_String(None, 'Billy'), TAG_String(None, 'Sally')]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment