摘要:
一、表的基本查询语句及方法 from、 where、 group by(分组)、having(分组后的筛选)、distinct(去重)、order by(排序)、 limit(限制) 1、单表查询: 先创建表,数据量稍微多点的表 create table emp( id int not null u 阅读全文
摘要:
一、全局解释器锁GIL: 官方的解释:掌握概念为主 """ In CPython, the global interpreter lock, or GIL, is a mutex that prevents multiple native threads from executing Python 阅读全文
摘要:
一、什么是异常? 程序在运行过程中出现了不可预知的错误,并且该错误没对应的处理机制,那么就会以异常的形式表示出来, 造成的影响就是整个程序无法再正常的运行,抛出异常。 二、异常的结构: 1:异常的类型:NameError 2:异常的信息:name 'sys' is not defined 3:异常的 阅读全文