python3学习手册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' stry="xxx" 不区别单引号与双引号, , 1): data = list(row) print(f"第{index}行: ", data) ★第16章、多进程与多线程 ★多进程mul�processing.Process类 python多进程(mul�-process)适用于计算密集型的任务, 对于I/O密集型任务应该使用多线程(mul�-thread),比如磁盘读写, 网络通信等 在p 某个全局变 量,可以使用mul�processing.Value()或mul�processing.Array()来创建共 享变量 在windows系统里使用多进程时,程序里必须有入口函数main(),且程 序末尾必须调用入口函数,即: if __name__ == "__main__": main() ★实例化mul�processing.Process类-调用外部函数0 码力 | 213 页 | 3.53 MB | 1 年前3
The DevOps Handbooklearning throughout the organization 2. Ch. 19 – Enable and Inject Learning into Daily Work a. Complex systems are impossible to predict for all outcomes i. Dr. Steven Spear - resilient organizations design of the tools that we gave them.” 2. Accidents are due to the inevitable design problems in complex systems that we build; they are system problems – not individual problems iii. Effective practices injection across critical systems ii. Simulate and rehearse accidents for practice 1. Schedule the event 2. Give teams time to prepare, make changes, and establish procedures 3. Execute iii. Expose latent0 码力 | 9 页 | 25.13 KB | 5 月前3
The DevOps HandbookThe Second Way: The Principles of Feedback 27 i. KEEP PUSHING QUALITY CLOSER TO THE SOURCE 1. In complex systems, adding more inspection steps and approval processes actually increases the likelihood of are written d. Pushing large batches of work to teams and special committees for approval and processing and then waiting for responses 3. Instead a. Use peer reviews of our proposed changes to gain organization iii. ENABLING ORGANIZATIONAL LEARNING AND A SAFETY CULTURE 1. When we work within a complex system, by definition it is impossible for us to perfectly predict all the outcomes for any action0 码力 | 8 页 | 22.57 KB | 5 月前3
The DevOps Handbookenvironments layer a. Events, logs, & metrics b. Common service to centralize, rotate, and delete 2. Event router responsible for storing our events and metrics a. Enables visualization, trending, alerting use other Blue- Green, Canary release patterns b. DEV SHARES PAGER ROTATION DUTIES WITH OPS i. Complex systems will inevitably have unexpected problems ii. Prevent upstream work from locally optimizing0 码力 | 8 页 | 24.02 KB | 5 月前3
A Seat at the Table - IT Leadership in the Age of Agilityrisk really the essence of what we do. Complex Adaptive Systems: Fourth and last, that the business should be thought of as a community, or perhaps as a Complex Adaptive System, which needs to be led0 码力 | 4 页 | 379.23 KB | 5 月前3
The DevOps Handbookearly as possible, in the fastest category as possible ii. Later stages require more scarce and complex environment to detect and reproduce issues iii. When an error is found, create a test in an earlier part of the deployment pipeline iii. Creating performance testing environments can easily be more complex than the application itself iv. Log performance results and evaluate compared to previous results0 码力 | 8 页 | 23.08 KB | 5 月前3
共 6 条
- 1













