This file contains 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
""" | |
About: | |
Looks in the given directory for any .srt (transcript) files to convert to a simple, | |
single line of text with timestamps and numbered lines removed. | |
Command line execution: | |
python srt_to_txt.py <source_directory> <file_encoding> | |
@:param <source_directory> is the location of the .srt file(s) | |
@:param <file_encoding> defaults to 'utf-8' |