GitHub 博客园 Nanakon
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 110 下一页

2016年8月16日

摘要: unittest 提供了一组测试函数,可以用来特化测试,如assertDictEqual、assertEqual、assertTrue、assertFalse、assertGreater、assertGreaterEqual、assertIn、assertIs、assertIsIntance、ass 阅读全文
posted @ 2016-08-16 13:34 jzm17173 阅读(116) 评论(0) 推荐(0)
摘要: pip install pylint pip install pyflakes pylint style1.py pip install pep8 pep8 style3.py 阅读全文
posted @ 2016-08-16 13:23 jzm17173 阅读(115) 评论(0) 推荐(0)
摘要: 使用大写字母和下划线来表示常量名 阅读全文
posted @ 2016-08-16 08:56 jzm17173 阅读(105) 评论(0) 推荐(0)

2016年8月15日

摘要: 字节和字节数组 struct binascii 位运算符 阅读全文
posted @ 2016-08-15 08:47 jzm17173 阅读(98) 评论(0) 推荐(0)

2016年8月14日

摘要: PYTHON的程序在LINUX后台运行 阅读全文
posted @ 2016-08-14 20:57 jzm17173 阅读(93) 评论(0) 推荐(0)

2016年8月13日

摘要: mysql分页原理和高效率的mysql分页查询语句 阅读全文
posted @ 2016-08-13 22:21 jzm17173 阅读(83) 评论(0) 推荐(0)

2016年8月12日

摘要: 编码 解码 阅读全文
posted @ 2016-08-12 21:25 jzm17173 阅读(144) 评论(0) 推荐(0)
摘要: 使用%的旧式格式化 使用%的旧式格式化 使用%的旧式格式化 使用%的旧式格式化 使用%的旧式格式化 使用{}和format的新式格式化 使用{}和format的新式格式化 使用{}和format的新式格式化 使用{}和format的新式格式化 使用{}和format的新式格式化 阅读全文
posted @ 2016-08-12 21:23 jzm17173 阅读(94) 评论(0) 推荐(0)
摘要: 1 2 阅读全文
posted @ 2016-08-12 10:49 jzm17173 阅读(67) 评论(0) 推荐(0)

2016年8月11日

摘要: from collections import namedtuple Duck = namedtuple('Duck', 'bill tail') duck = Duck('wide orange', 'long') print(duck) #Duck(bill='wide orange', tail='long') print(duck.bill) #wide orange Duck2 = ... 阅读全文
posted @ 2016-08-11 18:19 jzm17173 阅读(137) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 110 下一页

导航

轻音