Convert srt files to tables in docx
This assumes you have a bash environment.
- Run
make setup
, to initialise environment and create the vitual python environment - Source the init script
source source-me
, to activate the python environment
- Copy
srt2docx_settings_example.yaml
tosrt2docx_settings.yaml
and add your preferences. - Go to directory with input files.
- execute the script
srt2docx
with the full path, or if you source thesource-me
file it will get added to your path and you can just usesrt2docx
without the path.
If you want to use or change the watermark, put the file in the assets directory, and put the file name in the yaml. The script will look in the assets directory for all images.
After a sucessful run you should have docx files that share the same base name with the input files except with a .docx
extension. Errors should be reported to std out.
Any questions or comments Scott Dillman
Licensed under MIT.