06 2017 档案

该文被密码保护。
posted @ 2017-06-27 23:11 随便了888 阅读(6) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2017-06-26 23:49 随便了888 阅读(2) 评论(0) 推荐(0)
摘要:Advanced Uses of Python Decorators 阅读全文
posted @ 2017-06-23 23:46 随便了888 阅读(163) 评论(0) 推荐(0)
摘要:reference: https://www.zhihu.com/question/27699413/answer/267906889 摘要: 我们在描述一个真实对象(物体)时包括两个方面:它可以做什么(行为)它是什么样的(属性或特征)结论:对象=属性(特征)+方法(行为)相同属性和方法的对象归为一 阅读全文
posted @ 2017-06-23 00:09 随便了888 阅读(155) 评论(0) 推荐(0)
摘要:转:http://blog.csdn.net/caijunfen/article/details/70599138 云服务器 ECS Linux CentOS 7 下重启服务不再通过 service 操作,而是通过 systemctl 操作。 查看:systemctl status sshd.ser 阅读全文
posted @ 2017-06-19 22:49 随便了888 阅读(14229) 评论(0) 推荐(0)
摘要:Linux下安装Python3和django并配置mysql作为django默认服务器 CentOS7.3安装Python3.6 yum except KeyboardInterrupt, e: 错误 Linux系统下修改环境变量PATH路径的三种方法 CentOS上部署Django http:// 阅读全文
posted @ 2017-06-18 16:12 随便了888 阅读(146) 评论(0) 推荐(0)
摘要:from operator import itemgetter, attrgetter, methodcallerstudent_tuples = [('john', 'A', 15),('dave', 'A', 100),('jane', 'B', 12),('dave', 'B', 10),]messages = ['critical!!!', 'hurry!', 'standby', 'im... 阅读全文
posted @ 2017-06-11 09:34 随便了888 阅读(410) 评论(0) 推荐(0)
摘要:def prime(num): for i in range(2, num): if num % i == 0: # 能被1之外的任意个数整除的即为非素数,返回False,将被filter函数过滤掉 return False return Trueprint'prime: ', filter(pri 阅读全文
posted @ 2017-06-07 23:17 随便了888 阅读(9039) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2017-06-06 23:25 随便了888 阅读(2) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示