摘要: roles专门拿出一个文章来介绍 阅读全文
posted @ 2020-11-02 22:12 lazyball 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 安装ansible yum -y install epel-release yum -y install ansible 配置ansible 目录结构 ansible/ ├── ansible.cfg 主配置文件 ├── hosts 主机组配置 └── roles ansible.cfg # con 阅读全文
posted @ 2020-11-02 21:40 lazyball 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-24 12:57 lazyball 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-10-24 10:27 lazyball 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-10-24 10:06 lazyball 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-10-23 15:07 lazyball 阅读(113) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/linhaifeng/articles/5950339.html 阅读全文
posted @ 2019-10-10 15:16 lazyball 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 打开文件的方式 方式一: 方式二: 打开文件的模式 操作文件的方式 文件的光标问题 修改文件的方式 二进制方式操作文件 读出二进制文件的方法: with open('aa','rb') as f: print(f.read()) f.seek(0) print(f.read().decode('gb 阅读全文
posted @ 2019-10-10 15:13 lazyball 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 数据类型概述 int 整型 float 浮点型 bool 布尔 string 字符串 -不可变 dict 字典 -可变类型 list 列表 [] -可变 tuple 元组 () -不可变类型 set 集合 {} -可变类型 字符串 举例说明 name="alex \r \t" print(name. 阅读全文
posted @ 2019-10-10 11:02 lazyball 阅读(249) 评论(0) 推荐(0) 编辑
摘要: python语言简介 Python 是一个高层次的结合了解释性、编译性、互动性和面向对象的脚本语言。python语法的设计具有很强的可读性,相比其他语言经常使用英文关键字,其他语言的一些标点符号,它具有比其他语言更有特色语法结构。 windows安装python解释器 下载地址:https://ww 阅读全文
posted @ 2019-10-10 10:03 lazyball 阅读(153) 评论(0) 推荐(0) 编辑