This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Takes in a file CSV file and outputs each row as a Markdown file with YAML front matter named after first column. | |
# Data in the first row of the CSV is assumed to be the column heading. | |
# Original work borrowed from: https://github.com/EvanLovely/csv_to_jekyll | |
# Adapted from https://www.bryanklein.com/blog/hugo-python-gsheets-oh-my/ | |
# Import the python libraries. | |
import gspread | |
from oauth2client.service_account import ServiceAccountCredentials | |
from pathlib import Path | |
import os |
NewerOlder