Reading files is a breeze with the
openpyxl module. Now, let's shift our focus to writing Excel files. We'll perform multiple operations with Excel files in this section.
For this recipe, we will use another fantastic Python module, which is
xlsxwriter. As the name suggests, this module help us perform multiple operations on Excel sheets. Interestingly,
xlsxwriter doesn't support read operations on an Excel sheet (at the time of writing this book). We install the
xlsxwrite module using
pip, as follows:
pip install xlsxwriter
import xlsxwriter workbook = xlsxwriter.Workbook('add_sheet.xlsx') ...