摘要: 一.if语句 if [expression] then elif[expression] then else fi 注 : expression前后要有空格;判断相等用 = 而不是 == ; then可以另起一行,也可以与if同行,同行时要加';'; http://lxsym.blog.51cto. 阅读全文
posted @ 2015-11-27 14:19 chencesc 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 字符串 : 1.单引号: str = 'value'单引号字符串的限制: 单引号里的任何字符都会原样输出,单引号字符串中的变量是无效的; 单引号字串中不能出现单引号(对单引号使用转义符后也不行);2.双引号: str = "value is \"${name}\" \n" str = "valu... 阅读全文
posted @ 2015-11-27 13:25 chencesc 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-11-27 13:06 chencesc 阅读(131) 评论(0) 推荐(0) 编辑
摘要: http://c.biancheng.net/cpp/view/2739.html1.定义 : 直接定义 value="hi"注:等号前后不能加空格2.使用 : 加美元符号your_name="cesc"echo $your_nameecho ${your_name} 推荐给所有变量加上花括号,... 阅读全文
posted @ 2015-11-27 11:01 chencesc 阅读(143) 评论(0) 推荐(0) 编辑
摘要: http://polaris.blog.51cto.com/1146394/377468/字符是各种文字和符号的总称,包括各个国家文字、标点符号、图形符号、数字等。字符集是多个字符的集合,字符集种类较多,每个字符集包含的字符个数不同, 常见字符集有:ASCII字符集、ISO 8859字符集、GB23... 阅读全文
posted @ 2015-11-27 10:19 chencesc 阅读(551) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/suofiya2008/article/details/5579413 阅读全文
posted @ 2015-11-25 17:20 chencesc 阅读(254) 评论(0) 推荐(0) 编辑
摘要: http://www.jb51.net/article/60510.htmimport xlrdimport xlwt# 打开文件workbook = xlrd.open_workbook(r'F:\demo.xlsx') 阅读全文
posted @ 2015-11-25 16:21 chencesc 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1.你叫什么名字 ? Comment tu(您) t'appelles ? (非正式)Comment vous(你们,您) appellez-vous ? (正式)Comment 如何,怎么,怎样n.m. 如何产生, 怎样发生adv. 怎么[表示惊讶,愤怒]2.很高兴见到你Ravi de vous ... 阅读全文
posted @ 2015-11-25 15:11 chencesc 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 深入理解const char*p,char const*p,char *const p,const char **p,char const**p,char *const*p,char**const p(1)const char*p(2)char const*p(3)char *const p(4)c... 阅读全文
posted @ 2015-11-25 13:09 chencesc 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Python 第三方 http 库-Requests 学习安装 Requests1.通过pip安装 $ pip install requests2.或者,下载代码后安装: $ git clone git://github.com/kennethreitz/requests.git ... 阅读全文
posted @ 2015-11-23 20:24 chencesc 阅读(164) 评论(0) 推荐(0) 编辑