scour/scour.inkscape.py
2009-08-04 14:39:04 -05:00

8 lines
211 B
Python
Executable file

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from scour import scourString
input = file(sys.argv[1], "r")
sys.stdout.write(scourString(input.read()).encode("UTF-8"))
input.close()
sys.stdout.close()