subs = SubRipFile.open("../samples/example.srt")
len(subs)9
SubRipFile (items=None, eol=None, path=None, encoding='utf-8')
A more or less complete user-defined wrapper around list objects.
SubRipItem (index=0, start=None, end=None, text='', position='')
Initialize self. See help(type(self)) for accurate signature.
SubRipTime (hours=0, minutes=0, seconds=0, milliseconds=0)
Initialize self. See help(type(self)) for accurate signature.
TimeItemDescriptor (ratio, maxval=None)
Initialize self. See help(type(self)) for accurate signature.
ComparableMixin ()
Initialize self. See help(type(self)) for accurate signature.
Common base class for all non-exit exceptions.
Common base class for all non-exit exceptions.
Common base class for all non-exit exceptions.
(SubRipTime(0, 0, 0, 0),
SubRipTime(0, 0, 2, 500),
'Welcome to the Example Subtitle File!')