快捷函数 render( 请求, 模板, 内容) 载入模板,填充上下文,再返回它生成的HttpResponse对象 此时就不需要再导入 loader和HttpResponse ...
分类:
其他好文 时间:
2019-09-27 10:47:23
阅读次数:
68
short cut bar 捷径,快捷方法 menu bar 菜单栏 tool bar 工具栏 workbench window 工作台窗口 perspective 透视 editor 编辑器 console 控制台 status line 状态栏 views 视野,查看 identifier 标识 ...
分类:
系统相关 时间:
2019-09-27 01:31:47
阅读次数:
108
pymysql:python操作mysql 安装 增删改查 创建表 增 删 改 查 ...
分类:
数据库 时间:
2019-09-26 23:31:49
阅读次数:
113
cut 的两种用法 1种是 -c list 剪切字符串中特定位置的文字, yuyuyu:x:1000:1000:yuyuyu,,,:/home/yuyuyu:/bin/bash 写法 n-m 类似数组的索引,但字符位置是从1开始算的。 写法 ,, 推测 list中的数据顺序不是按递增来写会怎么样,答 ...
分类:
系统相关 时间:
2019-09-26 23:18:24
阅读次数:
95
对于磁盘等各类存储设备中所有的数据都以0和1的概念,但对于用户来说,0和1是没有任何意义的,这时候就需要一种类似于“翻译”的机制存在于用户和磁盘之间,Linux中采用的是文件系统+虚拟文件系统(Virtual File System,VFS)的解决方案 一、文件系统: 就是操作系统用于明确磁盘或分区 ...
分类:
系统相关 时间:
2019-09-26 11:53:54
阅读次数:
88
章节Python MySQL 入门 Python MySQL 创建数据库 Python MySQL 创建表 Python MySQL 插入表 Python MySQL Select Python MySQL Where Python MySQL Order By Python MySQL Delet ...
分类:
数据库 时间:
2019-09-26 09:41:05
阅读次数:
113
CountVectorizer方法进行特征提取 from sklearn.feature.extraction.text import CountVectorizer 这个方法根据分词进行数量统计继续文本分类 文本特征提取 作用:对文本进行特征值化 sklearn.feature_extractio ...
分类:
其他好文 时间:
2019-09-26 00:42:39
阅读次数:
508
pipe = conn.pipeline(transaction=True) pipe.multi() pipe.set('k2','123') pipe.hset('k3','n1',666) pipe.lpush('k4','laonanhai') pipe.execute() ...
分类:
其他好文 时间:
2019-09-23 12:12:31
阅读次数:
77
去中兴面试的时候被问到vcs 的使用方式,现在整理一下。 1. three-step flow 第一步:analysis——vlogan、vhdlan 在analysis phase中VCS会检查文件的语法错误,并将文件生成elaboration phase需要的中间文件,将这些中间文件保存在默认的 ...
分类:
其他好文 时间:
2019-09-22 20:04:46
阅读次数:
532
George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to the origina ...
分类:
其他好文 时间:
2019-09-22 15:06:27
阅读次数:
68