Source code for ebu_tt_live.scripts.ebu_interactive_shell


import logging
from argparse import ArgumentParser
from common import create_loggers
from ebu_tt_live.documents import EBUTT3Document


log = logging.getLogger('ebu_interactive_shell')
parser = ArgumentParser()

parser.add_argument('-i', '--input-file', dest='input_file', default=None)


[docs]def main(): create_loggers() log.info('Let\'s get started') args = parser.parse_args() if args.input_file: with open(args.input_file, 'r') as ifile: document = EBUTT3Document.create_from_xml(ifile.read()) import ipdb ipdb.set_trace()