diff options
Diffstat (limited to 'muse2/share/scripts/DoNothing')
-rwxr-xr-x | muse2/share/scripts/DoNothing | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/muse2/share/scripts/DoNothing b/muse2/share/scripts/DoNothing new file mode 100755 index 00000000..a3d92c7d --- /dev/null +++ b/muse2/share/scripts/DoNothing @@ -0,0 +1,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() |