There are 2 libraries used to handle excel files in python: openpyxl and xlsxwriter.
But you can not use either directly because xlsxwriter does not support modifying existing xlsx files and if you use openpyxl you will lose the charts. The workaround is to convert the xlsx file to xls file and modify it.