Google Drive synchronization with Python

Sam Stands
Nov 15, 2019 · 4 min read

In this guide, I will demonstrate how you can upload a folder, saved locally, to a Google Drive (through the Google Drive API) using only a simple Python program. The code can be improved upon, and everyone is free to do so. This guide is intended to be short and to the point.

Project motivation

The cost of having the Google Drive App installed on my computer greatly outweighs my synchronization needs, so I wanted to rid myself of the Google Drive App. Despite my limited need for syncing, I still needed to sync one…