From 998491329e474631d2c73bebd0d6e7fa4f91715a Mon Sep 17 00:00:00 2001 From: Sugar Daddy <95568665+rajat-se@users.noreply.github.com> Date: Mon, 3 Oct 2022 19:19:34 +0530 Subject: [PATCH] Create srt_to_doc.ipynb --- srt_to_doc.ipynb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 srt_to_doc.ipynb diff --git a/srt_to_doc.ipynb b/srt_to_doc.ipynb new file mode 100644 index 00000000..ab3f9750 --- /dev/null +++ b/srt_to_doc.ipynb @@ -0,0 +1,7 @@ +!pip install pysrt +import pysrt +subs = pysrt.open("input_file.srt") + +for sub in subs: + print(sub.text) + print()