摘要:https://github.com/dahlia/awesome-sqlalchemy Python Design PatternsThis project contains some of the most popular design patterns implemented in Pytho
阅读全文
摘要:SQLite 3 select StudentId,StudentName,StudentNO,StudentBirthday,(julianday('now')-julianday(StudentBirthday))/365 as Age from DuStudentList; SELECT (j
阅读全文
摘要:sql script: IF EXISTS (SELECT * FROM sysobjects WHERE [name] = 'proc_Insert_BookKindOut') DROP PROCEDURE proc_Insert_BookKindOut GO CREATE PROCEDURE p
阅读全文
摘要:sql script: DROP TABLE InsuranceMoney GO create table InsuranceMoney ( ID INT IDENTITY(1,1) PRIMARY KEY, InsuranceName nvarchar(50), InsuranceCost flo
阅读全文
摘要:sql: create database geovindu; use geovindu; drop table BookKindList; #书目录 create table BookKindList ( BookKindID INT NOT NULL AUTO_INCREMENT, #自动增加 B
阅读全文
摘要:def typeassert(*ty_args, **ty_kwargs): """ 利用装饰器对函数参数强制性类型检查 enforcing type check on function using decorator :param ty_args: :param ty_kwargs: :retur
阅读全文
摘要:sql script: DROP TABLE InsuranceMoney GO create table InsuranceMoney ( ID INT IDENTITY(1,1) PRIMARY KEY, InsuranceName nvarchar(50), InsuranceCost flo
阅读全文
摘要:a=10 def addgoled(): global a a+=1 dd=[{'name':'zhang','age':10}, {'name':'tu','age':13}] d={'name':'zhang','age':10} def adddict(): global d #for a i
阅读全文