Python openpyxl — Change font to bold
Python script that will change font to bold within an existing Excel spreadsheet using the openpyxl library. Openpyxl is a library that allows us to interact with Excel files in Python. It provides a range of tools for reading, writing, manipulating, and formatting Excel data.
See the example below where we set the cell ‘A1’ within our existing spreadsheet to bold font. Be sure to support us by subscribing to our YouTube channel for daily coding content.