Create Excel file with formula in sheet cells using EasyXLS library! XLSX, XLSM, XLSB, XLS files in Python.
https://www.easyxls.com/manual/tutorials/python/add-excel-formula.html