添加 '排行榜'

This commit is contained in:
206530238 2021-06-17 23:13:22 +08:00
parent 85e54015fd
commit 2fd4bf4986
1 changed files with 15 additions and 0 deletions

15
排行榜 Normal file
View File

@ -0,0 +1,15 @@
class Query_Db(object):
def _init_(self, dbname=DB_NAME):
self.conn-None
self.db_table='books'
self.db_name-dbname
self.get_conn ()
def get_conn (self):
try
self.conn = sqlite3.connect (self.db_name)
except Exception as e:
print 'Error:' ,e
def get_total_ num(self)
def query_pub_company(self)