python3学习手册raise def if return del import try elif in while else is with except lambda yiel ★标准数据类型 number int bool float complex ( 1+2j ) (python3无long长整型) True=1, False=0 string 有序strx='xxxx' (0~255) py3新增 bytearray 有 序 字 节 数 组 , 其 元 素 值 可 变 , 其 元 素 类 型 为 int (0~255) py3新增 不可变类型: Number String Tuple bytes 可变类型: List Dic�onary Set bytearray set 集合是由若干个元素组成的,基本功能是 进行成员关系测试 要再使用 list()转为list型 tuple(map(int, strlist)) #返回tuple型 int(x) 将x输出为10进制的整型,这里的x为number int(x,base=n) 将x输出为10进制的整型,这里的x必须是n进制的 string型 如 int("A", base=16)返回值为10 chr(n) 输入0~255内的整数,返回对应ascii字符,输入可为0 码力 | 213 页 | 3.53 MB | 1 年前3
k8s操作手册 2.3backend: service: name: mynginx-svc port: number: 1380 - host: "*.yyy.com" #支持*通配符域名,得放在双引号里 h�p: paths: #host下还可根据不同的url去转发到不同svc number: 2390 - path: /sta�cxx #转发到后端时也是带这个url的 pathType: Prefix backend: service: name: mynginx-svc port: number: 1380 backend: service: name: mynginx-svc port: number: 1380 # # kubectl apply -f myweb-ingress-tls.yml #应用 然后客户端就可使用h�ps://web.xxx.com:0 码力 | 126 页 | 4.33 MB | 1 年前3
Velocity Conference 2015Real User Monitoring: more valuable than any other metric Web Performance: 2 seconds is the magic number Whom did I meet?Attributions and References [1] Speaker Slides and Videos: http://velocityconf0 码力 | 4 页 | 176.79 KB | 5 月前3
Open Discussion on Project Planningprogram can be structured to “build to budget.” The funding that the program receives then drives the number of releases it can manage in a given year and the totality of delivered requirements within the0 码力 | 2 页 | 49.30 KB | 5 月前3
postgresql操作手册库 下 面 的 名 为 pg_catalg 的 schema 下 的 pg_hba_file_rules表里: INSERT INTO "pg_hba_file_rules" ("line_number", "type", "database", "user_name", "address", "netmask", "auth_method", "options", "error") VALUES0 码力 | 17 页 | 445.84 KB | 1 年前3
The DevOps Handbookalso helped move their operations and automation forward by “light-years” and had performed huge number of production deployments. g. INJECT PRODUCTION FAILURES TO ENABLE RESILIENCE AND LEARNING i. Crumple0 码力 | 9 页 | 25.13 KB | 5 月前3
The DevOps Handbookand when they get sick, you nurse them back tohealth. [Now] servers are [treated] like cattle. You number them and when they get sick, you shoot them.” iii. Ensure consistency across all environments (Prod0 码力 | 8 页 | 23.08 KB | 5 月前3
A Seat at the Table - IT Leadership in the Age of Agilitycomplicated for such control when delivering IT systems, where complexity is overwhelming and the number of potential failure modes is high. In weighing the things known for certain against the uncertainties0 码力 | 7 页 | 387.48 KB | 5 月前3
共 8 条
- 1













