摘要: ####memcache wget http://pecl.php.net/get/memcache-2.2.7.tgztar xf memcache-2.2.7.tgz cd memcache-2.2.7/usr/local/php/bin/phpize ./configure --with-ph 阅读全文
posted @ 2018-02-09 16:19 巽逸 阅读(306) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/alex3714/articles/5188179.html (初阶) http://www.cnblogs.com/alex3714/articles/5213184.html(进阶) http://www.cnblogs.com/wupeiqi/ar 阅读全文
posted @ 2018-02-09 10:30 巽逸 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 常用模块 http://www.cnblogs.com/alex3714/articles/5161349.html ##########模块############ import 调用模块 单独调用模块的某个函数from time import sleep ##调用time模块的sleep函数(可 阅读全文
posted @ 2018-02-09 10:21 巽逸 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 一、python的作用域 #############python中的作用域分4种情况。L:local 局部作用域,即函数中定义的变量E:enclosing 镶嵌的父级函数的局部作用域,即包含此函数的上级函数的局部作用域,但不是全局的。G:globa 全局变量,就是模块级别定义的变量。B:built- 阅读全文
posted @ 2018-02-09 10:11 巽逸 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 基础运算符 http://www.cnblogs.com/alex3714/articles/5465198.html 身份运算符:is is not成员运算符:in not in ##in 判断元素是否存在该队列中 存在返回Turea= "abc"print("b" in a) num += 1 阅读全文
posted @ 2018-02-09 10:02 巽逸 阅读(921) 评论(0) 推荐(0) 编辑
摘要: 1,int #数字(整形) 2,bool #布尔值True与False 非0为真,非空为真 3,str #字符串 单双引号引起来的就是str a="123" print(type(a)) <class 'str'> ##字符串的格式化输出 format ##格式化输出的另一种方式 a="hello 阅读全文
posted @ 2018-02-09 09:53 巽逸 阅读(164) 评论(0) 推荐(0) 编辑
摘要: wget https://www.openssl.org/source/openssl-1.1.0g.tar.gztar xf openssl-1.1.0g.tar.gzcd openssl-1.1.0g/./config --prefix=/usr/local/opensslmake && mak 阅读全文
posted @ 2018-02-09 09:20 巽逸 阅读(1941) 评论(0) 推荐(0) 编辑
摘要: 1.安装依赖apr wget http://www.eu.apache.org/dist/apr/apr-1.6.3.tar.gz tar -zxvf apr-1.6.3.tar.gz cd apr-1.6.3 ./configure --prefix=/usr/local/apr make && 阅读全文
posted @ 2018-02-09 09:17 巽逸 阅读(141) 评论(0) 推荐(0) 编辑