One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| +import sqlite3 | |
| +import re | |
| +import arrow | |
| + | |
| +connection = sqlite3.connect("/home/dmerej/backups/dmerej.info/blog/db/blog-2016-05-21.sqlite") | |
| + | |
| +cursor = connection.cursor() | |
| + | |
| +def slugify(text): | |
| + res = re.sub('[^\w\s-]', '', text).strip().lower() |