上一页 1 ··· 21 22 23 24 25
摘要: 概述 一般地,在进行数据库设计时,应遵循三大原则,也就是我们通常说的三大范式, 第一范式要求确保表中每列的原子性,也就是不可拆分; 第二范式要求确保表中每列与主键相关,而不能只与主键的某部分相关(主要针对联合主键),主键列与非主键列遵循完全函数依赖关系,也就是完全依赖; 第三范式:在第二范式的基础上 阅读全文
posted @ 2019-04-25 11:28 玄空2 阅读(524) 评论(0) 推荐(0) 编辑
摘要: import sysfrom PyQt5.QtWidgets import (QApplication, QWidget, QHBoxLayout, QFrame, QSplitter)from PyQt5.QtCore import Qtclass Example(QWidget): def __ 阅读全文
posted @ 2019-04-25 09:27 玄空2 阅读(1224) 评论(0) 推荐(0) 编辑
摘要: import sysfrom PyQt5.QtWidgets import *from PyQt5.QtCore import *from PyQt5.QtGui import *class Example(QWidget): def __init__(self): super().__init__ 阅读全文
posted @ 2019-04-25 09:24 玄空2 阅读(1080) 评论(0) 推荐(0) 编辑
摘要: import sqlite3class Demo01: def __init__(self): self.conn=sqlite3.connect("sql_demo_001.db") self.cursor1=self.conn.cursor() self.cursor1.execute("sel 阅读全文
posted @ 2019-04-25 09:22 玄空2 阅读(861) 评论(0) 推荐(0) 编辑
摘要: import sqlite3class Sql_Demo(object): def __init__(self, datebase): self.conn = sqlite3.connect(datebase) # 创建connect对象 self.cursor1 = self.conn.curso 阅读全文
posted @ 2019-04-25 09:20 玄空2 阅读(381) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-# Form implementation generated from reading ui file 'Calendar1.ui'## Created by: PyQt5 UI code generator 5.11.3## WARNING! All 阅读全文
posted @ 2019-04-25 09:14 玄空2 阅读(557) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25