From 600333eeaf79387902fa2a5d376ad127daa65f0a Mon Sep 17 00:00:00 2001 From: Alex Huddleston Date: Fri, 24 Nov 2017 20:05:17 -0600 Subject: [PATCH] Saving an initial python script for parsing states. --- test.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test.py diff --git a/test.py b/test.py new file mode 100644 index 0000000..b7dee32 --- /dev/null +++ b/test.py @@ -0,0 +1,4 @@ +with open('data/0.bin', 'rb') as f: + data = f.read() + +print(hex(int.from_bytes(data, byteorder='little', signed=False)))