Skip to content

converts office and html/chm files to pdf

Notifications You must be signed in to change notification settings

tuschla/pdf_converter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdf_converter

Converts recursively all the office and html/chm files in a directory into pdf files

#how to use it Replace the placeholders for the variables PYTHON_INTERP and PATH_CONV with respectively your python interpreter and the path of the directory you want to process, then run the file main.py. You can turn on error messages while processing with the variable 'verbose'. If you have chm files, it will raise an error on linux, so you will have to adapt the line:

subprocess.call(["hh.exe", "-decompile", directory, in_file], stdout=subprocess.PIPE)

with your chm decompiler (7zip works fine, surely a buch of others too)

About

converts office and html/chm files to pdf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%