Google Sheets and Microsoft Excel are no doubt the two most and widely used spreadsheet software today. In this tutorial I will be showing you how to use Google Sheets API and win32com module to integrate these two applications in Python.

We will be using win32com to control Excel spreadsheet and Google Sheets API to read data from Excel.

Install Google Client Python Library

Create a new project

Create a client secret file

Create a Google Sheets Service instance

Export Excel To Google