June 2023
Intermediate to advanced
316 pages
4h 31m
Japanese
1 #!/usr/bin/env python 2 import sys, re, string, sqlite3, os.path 3 4 # 5 # この問題の関係データベースは、次の3つの表から構成されている 6 # documents, words, characters 7 # 8 def create_db_schema(connection): 9 c = connection.cursor() 10 c.execute('''CREATE TABLE documents (id INTEGER PRIMARY KEY AUTOINCREMENT, name)''') 11 c.execute('''CREATE TABLE words (id, doc_id, value)''') 12 c.execute('''CREATE ...
Read now
Unlock full access