blob: a3d92c7d6312371d441983170194760b1cd5a098 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
testFile = file(sys.argv[1],"r")
inputEvents = testFile.readlines()
testFile.close()
outputEvents=[]
#loop through events
for line in inputEvents:
outputEvents.append(line)
testFile = file(sys.argv[1],"w")
testFile.writelines(outputEvents)
testFile.close()
|