Skip to content

Latest commit

 

History

History
 
 

doc_to_pdf

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Script to create wordcloud for a text file

Setup and activate virtual environment :

For Unix based systems please execute the following command to create venv and install requirements.

make init
source .venv/bin/activate

How to use:

  1. Call the function giving two arguments, the path to the doc file and the output path. (Include the file name that you want in the output path as well)
    example :-
    input_file = "C:/User/Desktop/xyz.docx"
    output_file = "C:/User/Desktop/xyz.pdf"
    doc_to_pdf(input_file, output_file)