摘要: Creating Tables The Creating Table statement enables you to create tables whitout rows from column definitions or to create tables from a query result 阅读全文
posted @ 2017-02-27 14:12 easy_wang 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Numpy的ndarray: 基本操作: ndarray的数据类型 数组和标量之间的运算:大小相等的数组之间的任何算术运算都会将运算应用到元素级,同样,数组与标量的算术运算也会将那个标量值传播到各个元素 基本的索引和切片:数组切片是原始数组的视图,这意味着数据不会被复制,视图上的任何修改都会直接反映 阅读全文
posted @ 2017-02-24 10:36 easy_wang 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Selecting Data from More than One Table by Using Joins Inner Joins: An Inner join returns only the subset of rows from the first table that matches ro 阅读全文
posted @ 2017-02-23 09:40 easy_wang 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 1. Ordering the SELECT Statement: 1.select 2. From 3. Where 4. Group by 5. Having 6. Order by 2. The OUTOBS=option limits the number of rows in the ou 阅读全文
posted @ 2017-02-20 22:13 easy_wang 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 文件有两个关键属性: “文件名”和“属性” os.path.join函数用法: 当前工作目录 os.getcwd()函数-->返回当前工作目录 os.chdir()函数-->修改当前工作目录 用os.makedirs()创建新文件夹 处理绝对路径和相对路径 1. os.path.abspath(pa 阅读全文
posted @ 2017-02-20 10:11 easy_wang 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 正则表达式匹配的几个步骤: 1. 用 import re 导入正则表达式模块。 2.用 re.compile()函数创建一个 Regex 对象(记得使用原始字符串)。 3.向 Regex 对象的 search()方法传入想查找的字符串。它返回一个 Match 对象。 4.调用 Match 对象的 g 阅读全文
posted @ 2017-02-17 00:03 easy_wang 阅读(1735) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/liutong3310/tag/python/ http://www.cnblogs.com/buddyquan/p/6399442.html http://www.cnblogs.com/wnzhong/archive/2017/01.html htt 阅读全文
posted @ 2017-02-15 22:28 easy_wang 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 1>.新建空白文件: touch命令-->$ touch test2>.新建目录: mkdir命令-->$mkdir mydir 使用 -p参数:同时创建父目录-->$mkdir -p father/son/grandson3>.复制文件: cp命令-->$ cp test father/s... 阅读全文
posted @ 2015-06-09 00:15 easy_wang 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1.Add title ,axis Lables, and Legend to Graph:1 x=linspace(-2*pi,2pi,100);2 y1=sin(x);3 y2=cos(x);4 figure5 plot(x,y1,x,y2);6 title('Graph of sine and... 阅读全文
posted @ 2015-06-03 00:21 easy_wang 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 1>.查看用户命令:who am i/who mom likes2>.who 命令常用参数: -a:打印能打印的全部 -d:打印死掉的进程 -m:同am i,mom likes -q : 打印当前登录用户数及用户名 -u : 打印当前登录用户登录信息 -r : 打印运行等级3>.添加用户... 阅读全文
posted @ 2015-05-31 22:05 easy_wang 阅读(155) 评论(0) 推荐(0) 编辑