cdown/srt

Making a srt file from scratch and writing/saving as a file with Python

ghostlyghastly opened this issue · 1 comments

Hi, I'm trying to convert csv files to srt format but from the beginner documentation I can't figure out how to just convert a list of lists with start time / end time / text into an srt file.

I also can't figure out how to write an SRT file.

cdown commented

Please read the quickstart here.

For reading from lists, construct a Subtitle object as desired and then run srt.compose.

You can also look at how it's done in examples in the srt_tools directory.