Wuddrum's solution to "Python 3 script to convert XML file rows into csv and HTML files"

Hey need_solution, here's my solution: https://pastebin.com/rawcar90Szh Copy and paste the code in a new file called `py-export-rows.py` and run it with `python py-export-rows.py` (assuming that python links to a python 3.x binary). It will read export.xml and produce .csv, .html and .pdf versions of the required columns. Dependencies: `pandas`, `weasyprint`. Install `pandas` with `pip install pandas`. Install `weasyprint` by following your platform specific instructions here: https://weasyprint.readthedocs.io/zBbT04s6 Copy and paste the code in a new file called `py-export-rows.py` and run it with `python py-export-rows.py` (assuming that python links to a python 3.x binary). It will read export.xml and produce .csv, .html and .pdf versions of the required columns. Dependencies: `pandas`, `weasyprint`. Install `pandas` with `pip install pandas`. Install `weasyprint` by following your platform specific instructions here: https://weasyprint.readthedocs.io/en/stable/install.html **Edit**: Updated styling to match the one requested. Example PDF: https://www.dropbox.com/s/xczsmpp5y45rksv/export-IBMAppleMS-1908.pdf?dl=0

User: Wuddrum

Question: Python 3 script to convert XML file rows into csv and HTML files

Back to question