summaryrefslogtreecommitdiff
path: root/prequeue.py
blob: 991db7eb851dd71566cb43e8d2dedb87a47cfdad (plain)
1
2
3
4
5
6
7
8
9
10
11
import os
import sys
import preprocessor

if __name__ == '__main__':
	for source in sys.argv[1:]:
		dest = os.path.splitext(source)[0] + '.tx'
		sys.stdin  = open(source, 'r')
		sys.stdout = open(dest, 'w')
		preprocessor.preprocess()