summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/digest_temp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/digest_temp b/src/test/digest_temp
new file mode 100644
index 0000000..3cde5ae
--- /dev/null
+++ b/src/test/digest_temp
@@ -0,0 +1,8 @@
+with open('./temp1','r') as file_sfh:
+ with open('./temp2','w') as out_file:
+ for line in file_sfh:
+ line=line.replace("\n","").replace("\"","").replace("\t","").replace(",","").strip()
+ if(line.find("mid")>=0):
+ out_file.write(line[4:]+",")
+ else:
+ out_file.write(line[7:]+"\n") \ No newline at end of file