原文地址:http://flyer103.diandian.com/post/2013-12-07/40060384842最近用了 gevent,做个小结,理理对 gevent 的认识。什么是 gevent?简介 (摘自 官网)gevent is a coroutine-based Python networking library that uses greenlet to prov...【阅读全文】
# -*- coding: UTF-8 -*-'''【程序90】题目:专升本一题,读结果。1.程序分析:2.程序源代码:'''if __name__ == '__main__': M = 5 a = [1,2,3,4,5] i = 0 j = M - 1 while i < M: a[i],a[j] = a[j],a[i]&nbs...【阅读全文】