1 2 3 4 5 ··· 9 下一页

2016年10月14日

摘要: 打开文件 删除文件 阅读全文
posted @ 2016-10-14 10:51 qmzp 阅读(150) 评论(0) 推荐(0) 编辑

2016年8月28日

摘要: 链接 ===== 在谈软链接与硬链接之前,先来说说文件系统基础知识。 Linux 系统中,一切皆文件。 文件包含两部分:文件属性与权限(inode),文件内容(data block)。 一个文件可由1个inode与多个block组成。 链接亦可理解为为文件取多个(相同或不相同)名字。 系统中每个目录 阅读全文
posted @ 2016-08-28 11:13 qmzp 阅读(272) 评论(0) 推荐(0) 编辑

2016年8月20日

摘要: 注 :译自gnome session[1],有调整,如若有误,欢迎指正 用途 启动GNOME桌面环境 概要(synopsis) 使用方法 描述 程序能够启动GNOME桌面环境。此命令通常由登陆管理者(如gdm,xdm,或者X启动脚本)调用执行。 Gnome session要么加载用户已存储的sess 阅读全文
posted @ 2016-08-20 15:47 qmzp 阅读(28654) 评论(0) 推荐(0) 编辑

2016年6月14日

摘要: Aodh alarm NOTIFIER ==> NOTIFIER will resolve the URL and post the data to http server setup a Http server ==> link: https://docs.python.org/2/library 阅读全文
posted @ 2016-06-14 10:56 qmzp 阅读(351) 评论(0) 推荐(0) 编辑

2016年5月18日

摘要: in terminal, when start the service, the service will run in this terminal, and if kill this terminal or command, this service will be killed. look up 阅读全文
posted @ 2016-05-18 15:11 qmzp 阅读(288) 评论(0) 推荐(0) 编辑

2016年5月2日

摘要: 检查数据可以让程序更健壮,用术语来说就是防御性编程。检查数据的时候,有这样的两种不同的风格。LBYL:Look Before You Leap EAFP:Easier to Ask Forgiveness than Permission LBYL即事先检查。EAFP是不检查,出了问题由异常处理来处理 阅读全文
posted @ 2016-05-02 11:51 qmzp 阅读(385) 评论(0) 推荐(0) 编辑

2016年4月21日

摘要: sys build-in function sys内建函数chr()bool()cmp()divmod()enumerate()file()filter()frozenset()id()int()isinstance()len()list()long()map()max()min()open()or 阅读全文
posted @ 2016-04-21 10:52 qmzp 阅读(250) 评论(0) 推荐(0) 编辑

2016年4月18日

摘要: (1)特性:无序,不重复,可变(默认)与不可变两种类型(2)常用场景set 的 union, intersection,difference 操作要比 list 的迭代要快。因此如果涉及到求 list 交集,并集或者差的问题可以转换为 set 来操作。 语法 操作 说明set(list1) | se 阅读全文
posted @ 2016-04-18 21:31 qmzp 阅读(251) 评论(0) 推荐(0) 编辑
摘要: (1)properties:implemented by array(2)common methodslst=['d', 'd', 'g', 'n', 'o', 'y', 'y']append(element)sort()reverse()count() #lst.count('d') >>>2in 阅读全文
posted @ 2016-04-18 21:30 qmzp 阅读(210) 评论(0) 推荐(0) 编辑
摘要: (1)Properties:No order, No repeat, implemented by hash_table Note: key is immutable, it must can be hashed, so the type of key must be immutable, such 阅读全文
posted @ 2016-04-18 21:29 qmzp 阅读(227) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 9 下一页

导航