2018年8月29日
摘要: # 内置函数,不用import,可以直接使用id() # 返回内存地址hash() # 返回一个对象的哈希值type() # 对象类型# 类型转换float()int()bool()str()list()tuple()dict()set()bytearray()len() # 元素个数range() 阅读全文
posted @ 2018-08-29 12:47 栗子测试 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 最佳实践: • 给表加一个id字段(int),作为单一主键,(自增、无符号) • 字符串做主键,效率肯定没有整数高。 • 表里面有记录的情况下,不能随便乱加字段,尤其是表在线上正在使用时 • 所以,设计表时多添加两个字段reserved1、reserved2,作为冗余,空间换实践,避免上述情况发生 阅读全文
posted @ 2018-08-29 11:14 栗子测试 阅读(304) 评论(0) 推荐(0) 编辑
摘要: mysql基础 阅读全文
posted @ 2018-08-29 10:55 栗子测试 阅读(127) 评论(0) 推荐(0) 编辑
摘要: python环境搭建 阅读全文
posted @ 2018-08-29 10:46 栗子测试 阅读(134) 评论(0) 推荐(0) 编辑
摘要: linux 软件管理 阅读全文
posted @ 2018-08-29 10:44 栗子测试 阅读(103) 评论(0) 推荐(0) 编辑
摘要: linux awk 阅读全文
posted @ 2018-08-29 10:44 栗子测试 阅读(639) 评论(0) 推荐(0) 编辑
摘要: linux sed 阅读全文
posted @ 2018-08-29 10:43 栗子测试 阅读(2045) 评论(0) 推荐(0) 编辑
摘要: linux vim 阅读全文
posted @ 2018-08-29 10:41 栗子测试 阅读(237) 评论(0) 推荐(0) 编辑
摘要: linux文本处理 阅读全文
posted @ 2018-08-29 10:39 栗子测试 阅读(122) 评论(0) 推荐(0) 编辑
摘要: linux基础 阅读全文
posted @ 2018-08-29 10:36 栗子测试 阅读(189) 评论(0) 推荐(0) 编辑