This file contains hidden or 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 logging import root | |
import img2pdf | |
import os | |
def main(): | |
root_dir = input("Please input the root dictionary of the file:") | |
if root_dir == "": | |
root_dir = os.getcwd() | |
os.chdir(root_dir) | |
folders = os.listdir() |