adding scripts and names to scripts

This commit is contained in:
Stephen
2021-03-29 13:37:39 -05:00
parent 2485f005af
commit 4b2c0b5b87
12 changed files with 233 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
# used python3
import re
READ = open("rawOutput.txt", "r")
construct = open("pieces.txt", "w")
lines = READ.readlines()
frames = 0
for line in lines:
frames += 1
res = re.search(r'\+0x.*', line)
data = res.group()
construct.write(data)
construct.write('\n')
print("Done. number of frames were:", frames)
READ.close()