diff options
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test.py b/test.py deleted file mode 100644 index db5e2a5..0000000 --- a/test.py +++ /dev/null @@ -1,29 +0,0 @@ -from . import bck_funcs - -print(bck_funcs.smg_bck_raw.anim_data) -print(bck_funcs.smg_bck_anim.anim_data) - -# I think I am making my own way to handle bytes -# ~ class owl_byte(int): - # ~ def __str__(self): - # ~ return "%0X" % (self) - -# ~ # I think I am making my own way to print bytes -# ~ # the default printing is awful to look at and I need rapid inspection -# ~ class owl_bytes(bytearray): - # ~ def __str__(self): - # ~ rtn = "" - # ~ for i in range(len(self)): - # ~ rtn += "%02X" % self[i] - # ~ rtn += " " - # ~ return rtn - -# ~ f = open("test.bin", "rb") -# ~ byte_arr = owl_bytes(b"") -# ~ byte = f.read(1) -# ~ while (byte != b""): - # ~ byte_arr += byte - # ~ byte = f.read(1) -# ~ f.close() - -# ~ print(byte_arr) |