摘要: 搬家到https://blog.csdn.net/qq_35810838 阅读全文
posted @ 2018-10-27 09:44 不停地走 阅读(115) 评论(0) 推荐(0) 编辑
摘要: python3 FalseTrueFalseTrue Process finished with exit code 0 python2: def upper_attr(futer_class_name, future_class_parent, futuer_class_attr): attrs 阅读全文
posted @ 2018-09-12 16:00 不停地走 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/andybegin/article/details/80775773 学习python的同学都知道这么几句话: 1. object类是所有新式类的父类 2. type是所有类的类 那么type和object是什么关系呢? object是一个新式类,我 阅读全文
posted @ 2018-09-12 13:42 不停地走 阅读(2456) 评论(0) 推荐(0) 编辑
摘要: 参考教程: https://blog.csdn.net/jyhhhhhhh/article/details/54627850 阅读全文
posted @ 2018-09-11 19:02 不停地走 阅读(1421) 评论(1) 推荐(0) 编辑
摘要: #python中单例模式 #1.使用__new__ class Singleton: def __new__(cls,*args,**kwargs): if not hasattr(cls,'_instance'): cls._instance=super().__new__(cls) return 阅读全文
posted @ 2018-09-11 17:39 不停地走 阅读(1667) 评论(0) 推荐(0) 编辑
摘要: 206 部分内容,服务器成功处理了部分get请求205 重置内容,服务器处理成功,用户终端应该重置文档视图,可通过返回码清除浏览器的表单域204 无内容,服务器成功处理,但为返回内容,在未更新网页的情况下,可确保浏览器继续显示当前文档203 非授权信息,请求成功,但返回的meta信息不在原始的服务器 阅读全文
posted @ 2018-09-11 12:52 不停地走 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 详情请看: https://blog.csdn.net/u010358168/article/details/79749149 阅读全文
posted @ 2018-09-10 10:27 不停地走 阅读(1212) 评论(0) 推荐(0) 编辑
摘要: 由于在windows操作系统中已经安装了python2.7,之前安装过python3.4,现已卸载, 将python3.6安装在C:\Python36目录下 然后进入C:\Python36目录下执行pip -V能正常使用 但是为了同时使用python2和python3,于是将python.exe改名 阅读全文
posted @ 2018-09-10 09:34 不停地走 阅读(701) 评论(0) 推荐(0) 编辑
摘要: F:\Scrapy\spider3\Scripts\python.exe F:/Django1/spider3/threading3.pyboss:今晚大家都要加班到22:00Falseworker:哎,命苦呀worker:哎,命苦呀worker:哎,命苦呀worker:哎,命苦呀worker:哎, 阅读全文
posted @ 2018-09-10 09:02 不停地走 阅读(494) 评论(0) 推荐(0) 编辑
摘要: #-*-coding:utf8-*-#参考学习官方资料 http://docs.python-requests.org/zh_CN/latest/user/quickstart.html#POST请求与POST的提交方式(比如post请求方式,application/json编码后的提交)#appl 阅读全文
posted @ 2018-09-10 09:00 不停地走 阅读(3455) 评论(0) 推荐(0) 编辑