Ejemplo n.º 1
0
def process_clippings_file(path):
    quotes = []
    clips = read_file(path)

    for clip in clips:
        quotes.append(Quote.from_block(clip))
    logger.info(f"Parsed {len(clips)} quotes from {path}")

    return quotes