How can you use Python for Excel files? This webinar demonstrates the different packages and show how you can use them for unit tests and other tasks like User Defined Functions.
5. xlwings
• Python for Excel
• Scripts, UDFs,
Macros, REST API
• Windows & Mac
• CE: Free & open-source, part of Anaconda
• PRO: e.g. embedding Python code
5
6. xltrail
• Version control
with or without Git
• Audit Trail for
Excel
• Currently tracks:
– Formulas
– VBA code
– Power queries
– Named ranges
6
16. Demo
16
1. Interactive use with Jupyter notebook
2. Static unit tests using OpenPyXL
3. Dynamic unit tests using xlwings
4.UDF: Correlation matrix
5. Macro: Monte Carlo simulation
6.Reporting (PRO feature)