Skip to content

Instantly share code, notes, and snippets.

View mriamnobody's full-sized avatar

Roshanlal mriamnobody

View GitHub Profile
pip install -r requirements.txt
Ignoring numpy: markers 'python_version > "3.10"' don't match your environment
Ignoring numba: markers 'python_version < "3.9"' don't match your environment
Collecting numpy==1.22.0
Using cached numpy-1.22.0-cp310-cp310-win_amd64.whl (14.7 MB)
Collecting cython==0.29.30
Using cached Cython-0.29.30-py2.py3-none-any.whl (985 kB)
Collecting scipy>=1.11.2
Using cached scipy-1.11.2-cp310-cp310-win_amd64.whl (44.0 MB)
Collecting torch>=1.7
import re
import sqlite3
from tabulate import tabulate
conn = sqlite3.connect('bookshelf.db')
c = conn.cursor()
c.execute("""CREATE TABLE IF NOT EXISTS books (
title TEXT,
author TEXT,