Skip to content

Instantly share code, notes, and snippets.

View FrancescoRan's full-sized avatar

Francesco Ranucci FrancescoRan

View GitHub Profile
@ndunn219
ndunn219 / srt_to_txt.py
Last active May 5, 2023 13:18
Simple Python Script for Extracting Text from an SRT File
"""
Creates readable text file from SRT file.
"""
import re, sys
def is_time_stamp(l):
if l[:2].isnumeric() and l[2] == ':':
return True
return False