Created
April 11, 2010 03:00
-
-
Save jrabbit/362457 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# (c) 2010 Jrabbit -- GPL v2 or later | |
from subtitles import Subtitle | |
import sys | |
s = Subtitle() | |
s.loadSrtFile(sys.argv[1]) | |
unicode(s) = srtin | |
open(sys.argv[2],"w") = out | |
out.write(srtin) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment