自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

编程人生

Program Life

  • 博客(20)
  • 收藏
  • 关注

原创 2021-08-18

@Author: liuyangly1@Date : 2021-07-14 08:33:36@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and LocalizationAbstrac.

2021-08-18 23:10:58 651

原创 python之08-Functions函数

@Author: liuyangly1@Date : 2021-07-08 15:53:41@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录函数1. 函数:定义与调用2. 函数:参数2.1 位置参数2.2 关键字参数2.3 默认参数2.4 可变参数2.5 序列参数2.6 值传递和引用传递,以及参数传递机制3. 返回值3..

2021-07-08 21:20:38 425

原创 python之07-KeyWords关键字

@Author: liuyangly1@Date : 2021-07-08 13:40:52@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录关键字1. 布尔关键字2. 控制流关键字3. 逻辑判断关键字4. 异常关键字5. 命令空间关键字6. 匿名函数关键字7. 断言关键字8.None关键字9. 函数与模块关键字10. 其他.

2021-07-08 21:19:38 751

原创 python之06-ThreeMajorProcesses三大流程

@Author: liuyangly1@Date : 2021-07-08 13:38:01@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录三大流程(顺序,分支,循环)1. 顺序结构2. 分支结构2.1 if …… elif …… else2.2 类switch:没有switch结构,以dict实现switch功能2.3 .

2021-07-08 21:18:16 139

原创 python之05-Operator运算符

@Author: liuyangly1@Date : 2021-07-08 13:09:20@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录运算符1. 算术运算符2. 关系运算符3. 赋值运算符4. 逻辑运算符5. 位运算符6. 成员运算符7. 身份运算符8. 运算符优先级运算符 1. 算术运算符算术运算符定义了数.

2021-07-08 21:17:36 162

原创 Python之04-DataType-TimeCalendar时间类型

@Author: liuyangly1@Date : 2021-07-07 22:13:45@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录时间类型Time, Calendar1. time1.1 初始化1.2 时间元组1.3 格式化时间1.4 time属性1.5 time方法2. calendar2.1 初始化2.2 c.

2021-07-08 21:14:47 187

原创 Python之04-DataType-String字符串类型

@Author: liuyangly1@Date : 2021-07-07 22:13:03@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录文本类型String1. 初始化2. 驻留机制3. 索引与切片4. 遍历与格式化输出5. 增, 删, 改, 查, 排序6. 最大,最小,长度,组合, 比较7. 大小写,分割,对齐,替换.

2021-07-08 21:12:35 688

原创 Python之04-DataType-SetFrozenset集合类型

@Author: liuyangly1@Date : 2021-07-07 22:09:27@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录集合类型Set, Frozenset1. set1.1 初始化1.2 索引与切片:无法操作1.3 遍历与格式化输出1.4 增, 删, 改, 查, 排序1.5 最大,最小,求和,长度,枚.

2021-07-08 21:10:38 94

原创 Python之04-DataType-Number数值类型

@Author: liuyangly1@Date : 2021-07-07 22:08:41@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录数值类型Number1. int2. float3. complex数值类型Number 1. int不同的类型,有不同的存储大小和取值范围,超出这个范围就会溢出报错。Py.

2021-07-08 21:06:14 267

原创 python之04-DataType-List, Tuple序列类型

@Author: liuyangly1@Date : 2021-07-07 22:00:58@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录序列类型 list, tuple1. list1.1 初始化1.2 索引与切片1.3 遍历与格式化输出1.4 增, 删, 改, 查, 排序1.5 最大max,最小,求和,长度,枚举,组.

2021-07-08 13:06:26 152

原创 python之04-DataType-Heapq堆类型

@Author: liuyangly1@Date : 2021-07-07 21:59:18@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录堆类型heapq1. 初始化 heapq.heapify(list)2. 添加 heapq.heappush(heap, item)3. 弹出 heapq.heappop(heap).

2021-07-07 22:00:34 81

原创 python之04-DataType-Dict映射类型

@Author: liuyangly1@Date : 2021-07-07 21:57:44@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录映射类型dict1. 初始化2. 索引与切片3. 视图keys(),values(),items(),遍历与格式化输出4. 增, 删, 改, 查, 排序5. 最大max,最小min,求.

2021-07-07 21:58:56 147

原创 python之04-DataType-Collections容器类型

@Author: liuyangly1@Date : 2021-07-07 21:55:20@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录容器类型ollections1. OrderedDict1.1 初始化1.2 方法1.3 demo:json有序读取2. deque2.1 初始化2.2 方法2.3 demo3. Co.

2021-07-07 21:57:10 102

原创 python之04-DataType-Bytes, Bytearray二进制类型

@Author: liuyangly1@Date : 2021-07-07 21:51:29@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录二进制类型Bytes, Bytearray1. bytes1.1 初始化1.2 转换1.3 增,删,改,查,排序1.4 开始和末尾判断,子序列判断,拼接,连接,分割序列1.5 对齐,分.

2021-07-07 21:52:34 404

原创 python之04-DataType-Bool布尔类型

@Author: liuyangly1@Date : 2021-07-07 21:48:30@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录布尔类型Bool1. 定义:True和False2. 判断:is和==3. 特殊性质:bool 是int子类;0为False,其余为真。布尔类型Bool 1. 定义:True和F.

2021-07-07 21:50:20 204

原创 python之04-TypeConvert类型转换

@Author: liuyangly1@Date : 2021-07-07 21:15:31@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录类型转换1. 数值型2. 进制转换:二进制十进制、八进制、十六进制3. ASCII码4. 字符和字符串5. 元组和列表6. 集合类型转换 1. 数值型# int(x [,bas.

2021-07-07 21:30:59 275

原创 python之03-CodeSpecification代码规范

@Author: liuyangly1@Date : 2021-07-07 21:06:01@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录代码规范1. 程序1.1 编码1.2 代码格式1.2.1 缩进1.2.2 行宽1.2.3 引号1.2.4 空行1.3 模块1.4 空格1.5 换行2. 注释2.1 代码注释2.1.1 .

2021-07-07 21:08:52 136

原创 Python之02-CodeStructure代码结构

@Author: liuyangly1@Date : 2021-07-07 19:16:25@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录代码结构1. 交互式编程和脚本式编程2. 代码结构2. 标识符3. 保留字符4. 行和缩进5. 多行语句6. 引号7. 注释8. 空行9. 用户输入10. 同一行显示多条语句11. p.

2021-07-07 21:03:15 199

原创 Python之01-ProjectStrucure项目结构

@Author: liuyangly1@Date : 2021-07-07 19:14:16@Blog : https://blog.csdn.net/liuyang_1106@Github: https://github.com/liuyangly1@Email : [email protected]文章目录项目结构1. 项目结构目录2. 项目创建脚本项目结构 1. 项目结构目录ProjectName|-- bin/ # 存放脚本,执行文件.

2021-07-07 19:58:30 385

原创 DataStructuresAlgorithms之01-SortingAlgorithm排序算法

Author: lyanglyDate : 2021-07-07 09:57:51Email : [email protected] : 数据结构与算法,排序算法;文章目录算法之排序1. 排序算法分类2. 排序算法复杂度3. 比较排序算法3.1 冒泡排序3.2 快速排序3.3 插入排序3.4 希尔排序3.5 简单选择排序3.6 堆排序3.7 归并排序4 非比较排序算法4.1 计数排序4.2 桶排序4.3 基数排序算法之排序1. 排序算法分类比较类排序:通过比较来决定元素间的相对.

2021-07-07 11:06:51 149 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除