1
0
mirror of https://github.com/balkian/gists.git synced 2025-08-23 15:12:21 +00:00

Remove quote from folders

This commit is contained in:
J. Fernando Sánchez
2021-10-30 15:24:35 +02:00
parent f48bab94dd
commit 15079c6da4
5 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
from __future__ import print_function
import csv
from jinja2 import Template
with open('PC Members.tsv') as f:
contacts = csv.DictReader(f, delimiter='\t')
with open('index.j2') as templatefile:
template = Template(templatefile.read())
with open('web/index.html', 'w') as web:
web.write(template.render(contacts=contacts))