python3学习手册string 有序strx='xxxx' stry="xxx" 不区别单引号与双引号, 单个字符也是string list 有序 列表,数组 tuple 有序 元组 set 无序 不重复(自动删除重复项) 集合 py3新 增 dic�onary 无序 字典 {键值对 集合} 关键字必须互不相同 bytes 有序 可变类型: List Dic�onary Set bytearray set 集合是由若干个元素组成的,基本功能是 进行成员关系测试 和 删 除重复元素 set可以进行数学上的集合运算(差集,并集,交集等) 可用 { ... } 和 set() 函数创建集合,创建空集合必须使用 set()而不能用 {} 例: a=set("fldsaj") b=set("fdslj") a - b ★类型转换 map(type, listxx) 将字符串str型list转为int型list strlist = ["23","15","6","44"] #元素类型为str strnn = list(map(int, strlist)) #map()将strlist的元素 都转为int型,map()返回的是map类型,需要再使用 list()转为list型0 码力 | 213 页 | 3.53 MB | 1 年前3
A Seat at the Table: IT Leadership in the Age of Agility - Part 2needs, and did the “rigorous” up-front analysis and centralized planning that could then be used to set boundaries for developers when they began a project. In other words, a vehicle for control. But standardization immediately, but also lets us validate the features that have been deployed. we would carefully set boundaries for planning. A detailed plan is a less effective basis for governance than validated learning a product to market, the more risk we assume. our governance decisions would not be based on a set of required requirements, but instead on high-level objectives. Instead of telling the project team0 码力 | 7 页 | 387.61 KB | 5 月前3
DevOps Meetupschedule your recurring maintenance. Do define a primary purpose and measure it. Do process map. Do focus on Quality first. Do start a book club. Book List Scaling Lean & Agile Development:0 码力 | 2 页 | 246.04 KB | 5 月前3
The DevOps Handbookresponsible for ensuring meets or exceeds…requirements…from start to finish b. CREATE A VALUE STREAM MAP TO SEE THE WORK i. Gain concrete understanding of how work is performed ii. Focus investigation and0 码力 | 8 页 | 22.57 KB | 5 月前3
k8s操作手册 2.3244.0.0/16 规划Service网络: 10.7.0.0/16 # pod网络和service网络都要求为16位的地址块,且不能与环境中其他网络地址 段冲突 # hostnamectl set-hostname k8s-master1.cof-lee.com #设置主机名称,所有结 点分别设置 # cat >> /etc/hosts <set-�mezone Asia/Shanghai #设置时区 # systemctl restart chronyd # chronyc sources -v ⑦设置网络参数 ontainerd.sock unix:///run/crio/crio.sock]. As the default se�ngs are now deprecated, you should set the endpoint instead. #crictl默认会依次读取以上3个接口 ★设置crictl连接containerd的cri接口 # cat > 0 码力 | 126 页 | 4.33 MB | 1 年前3
Government ExcerptLet’s ask a question that has a chance to actually change things: “What is the set of incentives that drives bad behavior?” I truly doubt that any of the Beltway bandits sees themselves as bad people departments every week: “We’re updating our process for how our agencies submit plans for investment. We set the goal that every week we’re going to change one thing. We’re taking an incremental approach. We0 码力 | 3 页 | 414.99 KB | 5 月前3
Pomodoro Techniquemeetings • No eating • No preening How does it work? 1. Choose a task you’d like to get done 2. Set the Pomodoro for 25 minutes 3. Work on the task until the Pomodoro rings 4. When the Pomodoro rings interruption 3. Make accurate estimations of how many Pomodoros you need for a certain activity 4. Set a timetable according to your to-dos, to your time, or even to the seasonWhy does this work? (Theory)0 码力 | 3 页 | 289.16 KB | 5 月前3
A Seat at the Table - IT Leadership in the Age of Agilityreference includes the notions of project, systems, application, investment, architecture, skill set, and accountability. We have, to be honest, made a jumble of these concepts. IT as an Asset: Second with that of a desired outcome. What gets tossed over the wall for the team to solve should not be a set of requirements: it should be an objective, an envisioned outcome that would add business value.0 码力 | 4 页 | 379.23 KB | 5 月前3
git 操作手册/etc/chrony.conf server 10.99.1.1 iburst prefer #配置集群可访问的ntp服务器 # �medatectl set-�mezone Asia/Shanghai #设置时区 # systemctl restart chronyd # chronyc sources -v ★配置yum源 https://gitlab.cof-lee.com/cof/pro-1.git + 2447ea5...dd101f2 main -> main (forced update) branch 'main' set up to track 'rmtRepo/main'. ★添加用户的ssh密钥 由用户登录gitlab界面,自行添加ssh key 首先在linux服务器上生成用户的ssh密钥对文件0 码力 | 35 页 | 1.69 MB | 1 年前3
Redis操作手册shutdown #停止服务运行,谨慎操作 not connected> exit not connected> quit 10.99.1.51:6379> set keyxx valuexx #创建一个键值对 OK 10.99.1.51:6379> keys * #查看所有的key0 码力 | 5 页 | 80.37 KB | 1 年前3
共 14 条
- 1
- 2













