上一页 1 2 3 4 5 6 ··· 16 下一页
摘要: 1. 源码安装 wget https://downloads.mysql.com/archives/get/file/mysql-5.6.36.tar.gz yum install -y gcc gcc-c++ automake autoconf yum -y install cmake bison 阅读全文
posted @ 2018-03-16 20:13 golangav 阅读(390) 评论(0) 推荐(0) 编辑
摘要: mysql 收集静态文件 nginx配置 # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian 阅读全文
posted @ 2018-03-13 18:34 golangav 阅读(471) 评论(0) 推荐(0) 编辑
摘要: Http 阅读全文
posted @ 2018-03-09 16:21 golangav 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 爬虫(一) requests 介绍 阅读全文
posted @ 2018-03-09 16:18 golangav 阅读(220) 评论(0) 推荐(0) 编辑
摘要: property class Foo: def __init__(self,name): self.__name = name @property def name(self): return self.__name @name.setter #修改属性时使用 def name(self,newna 阅读全文
posted @ 2018-03-09 11:09 golangav 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 1. Python里面match()和search()的区别? 2. 线程和进程的区别?各有什么特点? 3.进程间IPC有哪些 4. TCP/IP协议网络体系分层?每层协议有哪些 5. Python中 range和xrang区别?哪个性能更高? 阅读全文
posted @ 2018-03-06 11:28 golangav 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 组合 事例1:计算两个同心圆的面积 from math import pi class Circle: def __init__(self,r): self.r = r def area(self): return pi(self.r**2) class Ring: def __init__(sel 阅读全文
posted @ 2018-03-06 11:23 golangav 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 1. 统计一个类被实例了多少次 class A: num = 0 def __init__(self): A.num += 1 a = A() b = A() print(A.num) 阅读全文
posted @ 2018-03-05 10:35 golangav 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 序列化 1. 什么叫序列化 将原本的字典、列表等内容转换成一个字符串的过程就叫做序列化。 2. json dumps loads 一般对字典和列表序列化 dump load 一般对文件句柄操作 3. pickle和json的区别: pickle 可以对python中的所有数据类型序列化 json 只 阅读全文
posted @ 2018-03-02 15:19 golangav 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 一. python 安装 1. 下载安装包 2. 安装python3.6 3. 在命令行测试 4. 安装python2.7 5. 将python2增加到环境变量里 6. 将C:\Python27目录下的python.exe 和pythonw.exe 改为python2.exe 和pythonw2.e 阅读全文
posted @ 2018-01-19 14:56 golangav 阅读(3655) 评论(1) 推荐(4) 编辑
上一页 1 2 3 4 5 6 ··· 16 下一页