一、类是一系列对象相同的特征(变量)与技能(函数)的结合体,即类体中最常见的就是变量与函数的定义 但其实类体中是可以存在任意python代码的 类体代码会在定义阶段立即执行,会产生一个类名称空间,用来将类体代码执行过程中产生的名字都丢进去 类的作用主要有两点: 1.当做名称空间从其内部取出名字来使用 ...
分类:
其他好文 时间:
2019-03-19 23:10:36
阅读次数:
166
用户操作: mysql -u root -p 登录root用户; SHOW DATABASES; 显示所有的数据库名称; USE linuxcast; 切入linuxcast数据库; CREATE TABLE lc_course; 生成一个表; 表结构操作: ALTER TABLE lc_cours ...
分类:
数据库 时间:
2019-03-19 01:17:47
阅读次数:
204
Description Bessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible fro ...
分类:
其他好文 时间:
2019-03-18 01:36:16
阅读次数:
175
题目描述 Bessie is planning the annual Great Cow Gathering for cows all across the country and, of course, she would like to choose the most convenient lo ...
分类:
其他好文 时间:
2019-03-17 19:46:23
阅读次数:
190
Description Chosen Problem Solving and Program design as an optional course, you are required to solve all kinds of problems. Here, we get a new probl ...
分类:
其他好文 时间:
2019-03-16 20:54:01
阅读次数:
154
Final Project - Escape from CS 162In this final project, you'll implement a game that combines many of the things wetalked about in class this year. T ...
分类:
其他好文 时间:
2019-03-14 20:10:23
阅读次数:
131
列转行:利用max(case when then),不转行的列作为group by 的条件 合并字段显示:利用group_cancat(course,”:”,”score”) 不过行转列用decode()也行 DECODE与MAX的联合使用 ...
分类:
其他好文 时间:
2019-03-14 20:08:32
阅读次数:
201
数据表介绍 --1.学生表 Student(SId,Sname,Sage,Ssex) --SId 学生编号,Sname 学生姓名,Sage 出生年月,Ssex 学生性别 --2.课程表 Course(CId,Cname,TId) --CId 课程编号,Cname 课程名称,TId 教师编号 --3. ...
分类:
数据库 时间:
2019-03-14 18:00:36
阅读次数:
202
Is it bad to rely on foreign key cascading? I'll preface前言 this by saying that I rarely delete rows period. Generally most data you want to keep. You ...
分类:
其他好文 时间:
2019-03-14 13:25:24
阅读次数:
137
参考资料: https://www.icourse163.org/course/ISCAS-1002580008?tid=1003713012 //中国大学MOOC https://www.bilibili.com/video/av23401751 //B站 《ROS操作系统入门讲义》PDF下载 链 ...
分类:
其他好文 时间:
2019-03-14 00:46:09
阅读次数:
467