2016年11月1日
摘要: 恢复内容开始 一、方法 python的方法中分为三种方法: 静态方法 动态方法(普通方法) 类方法 其中常用的方法为:静态方法和动态方法 方法调用遵循的规则: 1.动态方法由对象调用; 2.静态方法由类调用; 3.类方法,属于静态方法的一种,通过类来调用,执行的时候会自动将类名传递进去,因此要有一个 阅读全文
posted @ 2016-11-01 18:38 mangguo 阅读(822) 评论(0) 推荐(0) 编辑
  2016年10月26日
摘要: 一、MySQL安装 二、MySQL基本设置 三、MySQL基本命令 1、查看数据库信息和表的基本操作 2、MySQL的列常用操作 阅读全文
posted @ 2016-10-26 11:52 mangguo 阅读(426) 评论(0) 推荐(0) 编辑
  2016年10月25日
摘要: http://blog.chinaunix.net/uid-23500957-id-3990473.html http://www.cnblogs.com/vamei/archive/2012/07/10/2582787.html http://www.cnblogs.com/tqsummer/ar 阅读全文
posted @ 2016-10-25 23:27 mangguo 阅读(143) 评论(0) 推荐(0) 编辑
  2016年10月22日
摘要: 一、去除字符串首尾白空格 说明:即为去除字符串的首尾(即头部和尾部)的白空格(空格本身,回车\r,换行\n,制表符\t, 换页符\f ) 实例: strip一般用来是去除一个字符的首尾的多余的,不可见的字符(所谓的白空格). http://blog.csdn.net/forevernull/arti 阅读全文
posted @ 2016-10-22 11:13 mangguo 阅读(198) 评论(0) 推荐(0) 编辑
  2016年10月21日
摘要: 一、input与raw_input的区别 1、raw_input()说明 a = raw_input("input content:")print a,type(a) 输出结果: input content:aa <type 'str'> input content:10001000 <type ' 阅读全文
posted @ 2016-10-21 22:53 mangguo 阅读(166) 评论(0) 推荐(0) 编辑
  2016年10月19日
摘要: 一、python调用linux系统命令模块 import os import commands 例如,调用系统命令执行ping操作: 总结: 使用commands比os效果好,输出结果包含执行状态返回码和具体执行结果,而且在执行过程中不会有其他输出,所有的执行结果都赋值给了变量; 使用os,不好的地 阅读全文
posted @ 2016-10-19 13:50 mangguo 阅读(315) 评论(0) 推荐(0) 编辑
  2016年10月16日
摘要: nginx fastcgi wrapper php 阅读全文
posted @ 2016-10-16 21:13 mangguo 阅读(15935) 评论(1) 推荐(2) 编辑
  2016年10月14日
摘要: nginx ngx_http_stub_status_module 阅读全文
posted @ 2016-10-14 22:19 mangguo 阅读(367) 评论(0) 推荐(0) 编辑
  2016年10月9日
摘要: 1 set wildmenu 2 set backspace=2 3 4 set pastetoggle=<f3> 5 6 filetype on 7 filetype plugin on 8 filetype indent on 9 10 set encoding=utf-8 11 set fil 阅读全文
posted @ 2016-10-09 18:10 mangguo 阅读(471) 评论(0) 推荐(0) 编辑