上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 125 下一页
摘要: ``` # -*- coding: utf-8 -*- # @Time : 2018/9/26 14:03 # @Author : cxa # @File : pickledemo.py # @Software: PyCharm import pickle fname="banner.p" with open(fname,'rb') as fs: data=pickle.lo... 阅读全文
posted @ 2018-09-26 14:31 公众号python学习开发 阅读(317) 评论(0) 推荐(0)
摘要: 代码 结果: 阅读全文
posted @ 2018-09-26 13:43 公众号python学习开发 阅读(247) 评论(0) 推荐(0)
摘要: text="那一大推乱码" 方案1 方案2 阅读全文
posted @ 2018-09-26 11:17 公众号python学习开发 阅读(246) 评论(0) 推荐(0)
摘要: 网络管理员在线工具 http://www.mxcz.net/ asciitohex https://www.asciitohex.com/ 各种密码解密 https://gchq.github.io/CyberChef 阅读全文
posted @ 2018-09-25 22:58 公众号python学习开发 阅读(240) 评论(0) 推荐(0)
摘要: 服务端 客户端 阅读全文
posted @ 2018-09-19 23:22 公众号python学习开发 阅读(440) 评论(0) 推荐(0)
摘要: ``` # -*- 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学习开发 阅读(731) 评论(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学习开发 阅读(326) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2018-09-19 14:16 公众号python学习开发 阅读(2265) 评论(0) 推荐(0)
摘要: 模块简介: 从模块的名字也可以看出来,atexit模块主要的作用就是在程序即将结束之前执行的代码,atexit模块使用register函数用于注册程序退出时的回调函数,然后在回调函数中做一些资源清理的操作 注意: 1,如果程序是非正常crash,或通过os._exit()退出,注册的回调函数将不会被 阅读全文
posted @ 2018-09-18 23:47 公众号python学习开发 阅读(516) 评论(0) 推荐(0)
摘要: ``` npm cache clean --force ``` 阅读全文
posted @ 2018-09-18 16:54 公众号python学习开发 阅读(654) 评论(0) 推荐(0)
上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 125 下一页