2017年6月21日
摘要: Linux 下执行Mysql的 sql文件 阅读全文
posted @ 2017-06-21 21:36 寒星12345678999 阅读(370) 评论(0) 推荐(0) 编辑
摘要: ['age', 'name', 'sex'][21, 'zzx', 'male']key: agevalue: 21key: namevalue: zzxkey: sexvalue: male添加后的元组为 {'age': 21, 'online': True, 'name': 'zzx', 'se 阅读全文
posted @ 2017-06-21 15:51 寒星12345678999 阅读(88) 评论(0) 推荐(0) 编辑
摘要: local cd lcd run sudo put get reboot() prompt confirm @task @run_once from fabric.clolrs import * yellow blue red green cyan 青色 magenta 紫色 white 阅读全文
posted @ 2017-06-21 14:10 寒星12345678999 阅读(323) 评论(0) 推荐(0) 编辑
摘要: static_foo1class_foo1hello i am foo~~~~~~~~~~hello i am foohello i am myfoo 参考 使用@staticmethod或@classmethod,就可以不需要实例化,直接类名.方法名()来调用。 阅读全文
posted @ 2017-06-21 10:06 寒星12345678999 阅读(113) 评论(0) 推荐(0) 编辑