Python+sqlite:一个简单的数据库连接池
摘要:1 import sqlite3 2 import os 3 from threading import Lock, BoundedSemaphore 4 5 6 class ConnPool: 7 8 def __init__(self, db_name, max_conn): 9 self.__
阅读全文
posted @ 2020-08-17 15:05
posted @ 2020-08-17 15:05
posted @ 2020-08-17 15:01