def handle(md, dst):
    copy(dst)
    slides = codecs.open(md, 'r', 'utf-8').read()
    data = ''
    for css, item in slides_split(slides):
        if not item:
            continue
        data += css % '<section class="slide %s">'\
                + '<div class="content">'\
                + markdown(item, markdown_options)\
                + '</div>'\
                + '</section>\n'
    index_template = os.path.join(HERE, 'templates', 'index.html')
    html = codecs.open(index_template, 'r', 'utf-8')
    html = html.read().replace('<slide>', data)
    f = codecs.open(os.path.join(dst, 'index.html'), 'w', 'utf-8')
    f.write(html)
    f.close()
dataset/ETHPy150Open isnowfy/pydown/main.py/handle/swapped operands of `%`