摘要:
string 字符串 1. 字符串特性1.1不可变对象特性理解2. 字符串定义/原始字符串定义3. 字符串读取string里的值4. 字符串切片5. 字符串运算5.1 字符串连接 +5.2 字符串重复5.3 字符串索引取值/字符串切片5.4 字符串成员,list也有这个方法6. 字符串格式化7. 字符串常用方法7.1 string.join(seq) 以 string 作为分隔符,将 seq 中... 阅读全文
posted @ 2016-09-11 14:59
lshconfigure
阅读(248)
评论(0)
推荐(0)
摘要:
list, 列表 1. 列表特性1.1 mutable特性验证2. 列表元素读取3. 列表元素修改4. 列表元素删除5. 列表删除6. 列表计算6.1 长度6.2 组合6.3 重复6.3.1 列表内元素为mutable(可变)对象是,使用列表重复要千万小心,只是同一个对象的几次重复;6.4 元素存在6.5 迭代7. 列表函数7.1 cmp(list1,list2)7.2 len(list)获取列... 阅读全文
posted @ 2016-09-11 14:58
lshconfigure
阅读(178)
评论(0)
推荐(0)
摘要:
file related function open,close,read,write 1. open 函数access_mode2. read 读函数/seek 读指针函数read 读函数seek 读指针移动函数tell返回当前读指针位置3. write 函数 1. open 函数 file_obj = open(file_name , access_mode, buffering) ... 阅读全文
posted @ 2016-09-11 14:57
lshconfigure
阅读(184)
评论(0)
推荐(0)
摘要:
1. 概要 &参考2. 方法2.1 查看单个 sector 大小?5122.2 查看单个 block 大小?40962.3 查看单个 inode 大小?1282.4 查看文件 inode 信息 (stat)?2.5 查看文件 inode 信息 (ls -i)?2.6 查看磁盘 inode 信息 (df -i)?2.7 通过inode号反查文件名字 (find ./ -inum 524903)?2.... 阅读全文
posted @ 2016-09-11 14:55
lshconfigure
阅读(199)
评论(0)
推荐(0)

浙公网安备 33010602011771号