Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/b/a/babelsubs-HEAD/babelsubs/parsers/ssa.py   babelsubs(Download)
import re
 
from babelsubs.parsers.srt import SRTParser
from babelsubs.utils import (
    centiseconds_to_milliseconds, escape_ampersands,
    def _get_time(self, hour, min, sec, milliseconds):
        milliseconds = centiseconds_to_milliseconds(milliseconds)
        res =  (1000 * (
            (int(hour)*60*60 )+
            (int(min)*60) +