Automating Excel with Python

Python is a versatile programming language. You can use Python to read, write and edit Microsoft Excel documents. There are several different Python packages you can use, but this book will focus on OpenPyXL.

Automating Excel with Python

The OpenPyXL package allows you to work with Excel files on Windows, Mac and Linux, even if Excel isn’t installed.


In this book, you will learn about the following:

  • Opening and Saving Workbooks
  • Reading Cells and Sheets
  • Creating a Spreadsheet (adding / deleting rows and sheets, merging cells, folding, freeze panes)
  • Cell Styling (font, alignment, side, border, images)
  • Conditional Formatting
  • Charts
  • Comments
  • Print Settings
  • and more!

Python is a great language that you can use to enhance your daily work, whether you are an experienced developer or a beginner!

Buy the Book