This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pathlib import Path | |
from mdutils.mdutils import MdUtils | |
from mdutils import Html | |
from PyPDF2 import PdfReader | |
mdFile = MdUtils(file_name='books', title='My PDF Books') | |
def outline_list(outline): | |
result = [] | |
for heading in outline: |