摘要:
The logging library takes a modular approach and offers several categories of components: loggers, handlers, filters, and formatters.• Loggers expose the interface that application code directly uses.... 阅读全文
摘要:
冒泡排序将一个不规则的数组按从小到大的顺序进行排序data=[10,4,33,21,54,3,8,11,5,22,2,1,17,13,6]#!/usr/bin/env python#coding=utf-8import redata = [10,4,33,21,54,3,8,11,5,22,2,1,17,13,6]# for j in range(len(data)):# for i in... 阅读全文
摘要:
Regular Expression Modifiers: Option FlagsRegular expression literals may include an optional modifier to control various aspects of matching. The modifiers are specified as an optional flag. You can ... 阅读全文