上一页 1 ··· 67 68 69 70 71 72 73 74 75 ··· 123 下一页
摘要: ``` # -*- coding: utf-8 -*- # @Time : 2018/9/19 20:21 # @Author : cxa # @File : delDemo.py # @Software: PyCharm ''' 当类被删除的时候,程序会自动执行__del__当中的代码 ''' class t: def a(self): print("a开始") ... 阅读全文
posted @ 2018-09-19 20:41 公众号python学习开发 阅读(726) 评论(0) 推荐(0) 编辑
摘要: ``` # -*- coding: utf-8 -*- # @Time : 2018/9/19 14:45 # @Author : cxa # @File : decorator.py # @Software: PyCharm from common.logger import logger import time from functools import wraps impor... 阅读全文
posted @ 2018-09-19 15:15 公众号python学习开发 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 输出 阅读全文
posted @ 2018-09-19 14:16 公众号python学习开发 阅读(2256) 评论(0) 推荐(0) 编辑
摘要: 模块简介: 从模块的名字也可以看出来,atexit模块主要的作用就是在程序即将结束之前执行的代码,atexit模块使用register函数用于注册程序退出时的回调函数,然后在回调函数中做一些资源清理的操作 注意: 1,如果程序是非正常crash,或通过os._exit()退出,注册的回调函数将不会被 阅读全文
posted @ 2018-09-18 23:47 公众号python学习开发 阅读(504) 评论(0) 推荐(0) 编辑
摘要: ``` npm cache clean --force ``` 阅读全文
posted @ 2018-09-18 16:54 公众号python学习开发 阅读(636) 评论(0) 推荐(0) 编辑
摘要: 初始socket网络编程 概念 要想理解socket,就要先来理解TCP,UDP协议。 TCP/IP(Transmission Control Protocol/Internet Protocol)即传输控制协议/网间协议,定义了主机如何连入因特网及数据如何再它们之间传输的标准, TCP/IP是TC 阅读全文
posted @ 2018-09-16 23:14 公众号python学习开发 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.cnblogs.com/yuanchenqi/articles/5692716.html 知识预览 计算机网络 回到顶部 网络通信要素: A:IP地址 (1) 用来标识网络上一台独立的主机 (2) IP地址 = 网络地址 + 主机地址(网络号:用于识别主机所在的网络/网 阅读全文
posted @ 2018-09-16 22:00 公众号python学习开发 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 因为直接读hosts文件没有权限所以使用了以下方法。 阅读全文
posted @ 2018-09-12 21:23 公众号python学习开发 阅读(1067) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000010144742 https://segmentfault.com/a/1190000014775124 https://blog.ihypo.net/python.html http://editor.swagger.io/ 阅读全文
posted @ 2018-09-12 16:50 公众号python学习开发 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 输出 其他: 阅读全文
posted @ 2018-09-11 10:39 公众号python学习开发 阅读(1276) 评论(0) 推荐(0) 编辑
上一页 1 ··· 67 68 69 70 71 72 73 74 75 ··· 123 下一页