摘要: http://cx2c.cc/20170807.html 阅读全文
posted @ 2017-08-07 16:32 ccccdc 阅读(77) 评论(0) 推荐(0) 编辑
摘要: python基础之socket编程 阅读全文
posted @ 2017-07-10 15:57 ccccdc 阅读(81) 评论(0) 推荐(0) 编辑
摘要: python-正则表达式 阅读全文
posted @ 2017-06-26 17:17 ccccdc 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 要默写的作业 阅读全文
posted @ 2017-06-19 19:23 ccccdc 阅读(135) 评论(0) 推荐(0) 编辑
摘要: #! /usr/bin/env python # -*- coding: utf-8 -*- # __author__ = "Q1mi" # Date: 2017/6/16 # 实现tail | grep 功能 import time def tail(filename): with open(filename, 'r', encoding='utf-8') as f: ... 阅读全文
posted @ 2017-06-19 19:21 ccccdc 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 迭代器 列表解析 生成器 阅读全文
posted @ 2017-06-19 19:20 ccccdc 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 有参装饰器: 装饰器作业: 装饰器作业: 迭代器 有参装饰器习题 阅读全文
posted @ 2017-06-19 19:17 ccccdc 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 装饰器 装饰器: 闭包函数 阅读全文
posted @ 2017-06-19 19:12 ccccdc 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 函数参数的使用 函数对象 名称空间和作用域 阅读全文
posted @ 2017-06-19 19:09 ccccdc 阅读(95) 评论(0) 推荐(0) 编辑
摘要: #! /usr/bin/env python # -*- coding: utf-8 -*- # __author__ = "w.z" # Date: 2017/6/9 # review-list # list 删除 # pop l = [1, 2, 3, [3, 4]] print(l[3]) l[3].pop(0) print(l) # del l = [1, 2, 3, [3, 4]]... 阅读全文
posted @ 2017-06-19 19:05 ccccdc 阅读(89) 评论(0) 推荐(0) 编辑