adding scripts and names to scripts
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user