摘要: bin(x) 英文说明:Convert an integer number to a binary string. The result is a valid Python expression. If x is not a Python int object, it has to define a 阅读全文
posted @ 2017-03-01 20:36 pyrene 阅读(423) 评论(0) 推荐(0) 编辑
摘要: all(iterable) 版本:该函数在python2.5版本首次出现,适用于2.5以上版本,包括python3,兼容python3版本。 说明:如果iterable的所有元素不为0、''、False或者iterable为空,all(iterable)返回True,否则返回False;函数等价于: 阅读全文
posted @ 2017-03-01 20:35 pyrene 阅读(166) 评论(0) 推荐(0) 编辑
摘要: any(iterable) 版本:该函数适用于2.5以上版本,兼容python3版本。 说明:如果iterable的任何元素不为0、''、False,all(iterable)返回True。如果iterable为空,返回False。函数等价于: 注意比较该函数与all()函数的区别,any是任意,而 阅读全文
posted @ 2017-03-01 20:33 pyrene 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 。。。 阅读全文
posted @ 2017-03-01 19:42 pyrene 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 。。。 阅读全文
posted @ 2017-03-01 19:41 pyrene 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 。。。 阅读全文
posted @ 2017-03-01 19:40 pyrene 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 一、定时任务简介 crond定时任务的设置是以分钟来起步的定时任务 如果定时任务不能来的,可以写脚本来执行 while true do echo”i am oldboy teacher” sleep 1 done 有些人会在/etc/crontab下面写定时任务,这样是不规范的,所以有时候找不到定时 阅读全文
posted @ 2017-03-01 19:39 pyrene 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 一、linux文件属性之文件权限体系介绍 二、linux中连接介绍 三、软连接 四、图解 五文件删除原理 阅读全文
posted @ 2017-03-01 19:35 pyrene 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 一、linux文件和目录属性 二、linux系统文件属性inode与block详解 三、索引节点inode 四、linux文件属性inode与block图解 五、linux文件属性总结 阅读全文
posted @ 2017-03-01 19:33 pyrene 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 一、linux系统重要子目录详解 二、其他目录 三、/proc下的重要路径 四、linux系统文件类型介绍 五、linux中的文件类型 六、目录文件 七、字符设备及块设备文件 八、套接口文件 九、符号链接文件 十、管道文件 阅读全文
posted @ 2017-03-01 19:31 pyrene 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 一、linux系统的目录结构: 1、逻辑上所有的目录只有一个顶点/(根),所有目录的起点,根下面类似一个倒挂着的树一样的层次结构,tree -L显示层数,tree -L 1 /在根下显示一层 2、linux中的目录结构是有规律的,而且是按照类别组织的 如应用程序/usr/bin 数据文件,帮助/us 阅读全文
posted @ 2017-03-01 19:22 pyrene 阅读(1056) 评论(0) 推荐(0) 编辑