This Python script generates a .docx file containing the bibliography and the notes taken in Zotero (previously exported in a .csv file), to ease the process of writing papers (e.g. surveys and reviews) and thesis.
-
Before using the Python script, make sure you have the necessary packages already installed in your system by running:
python -m pip install -r requirements.txt -
After that, to properly run the script, export you bibliography elements from Zotero to a .CSV file
-
Clone this repository and just place your .csv file in the same folder. Execute the script using the command line:
python notetodoc.py [name of your csv].csvor specifiying the name of the output file
python notetodoc.py [name of your csv].csv [name for the output file].docx
And that's all! A .docx file will appear afterwards:
[name you specified].docxor, if you did not specify a name for the output,notes.docx
Although the file is .docx, you can open it with LibreOffice Writer
python notetodoc.py power_electronics.csv ACDC_notes.docx