Skip to content

freshened/PDF-Convert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You will need to install the following third-party libraries:

watchdog: Used for monitoring the folder for changes. pip install watchdog

python-docx: Used for reading .docx files. pip install python-docx

fpdf2: Used for creating PDF files. pip install fpdf

Pillow (PIL): Used for handling image files. pip install Pillow

pypiwin32: Provides access to Windows API, used here for Excel automation. pip install pypiwin32

Additional Notes Microsoft Office: You will also need Microsoft Excel installed on your machine for the Excel to PDF conversion to work, as it uses COM automation through win32com.client. Font: The script references a font (fonts/DejaVuSans.ttf). Make sure you have the font file in the fonts directory. This is a requirement because it will throw a unicode error if not when converting some file types.

After installing the required packages, you should be able to run the script without errors.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages