07 2015 档案
摘要:werkzeug构建'url shortly'应用0: basic wsgi1: creating the folders2: the base structure3: 环境4: routing5: first view6: redirect view7: detail viewwerkzeug构建...
阅读全文
摘要:要使我们的对象支持with语句,必须为它实现 __enter__和__exit__方法。先看一个例子:from socket import socket, AF_INET, type=SOCK_STREAMclass lazyConnection: def __init__(self, add...
阅读全文
摘要:hello world WSGI appWSGI应用WSGI环境用environ参数创建Request请求Responseshello world WSGI appdef application(environ, start_response): start_response( ...
阅读全文
摘要:上传文件保存上传的文件上传文件import weburls = ( '/upload', 'Upload',)class Upload: def GET(self): return """ ...
阅读全文
摘要:7 Linked Lists7.1 singly linked list7.2 circular linked lists7.4 the positional list ADT7.5 sorting a positional list7.6 链表与数组实现的序列比较7 Linked Lists7.1...
阅读全文
摘要:5 Array-Based Sequence5.2.1 referential arrays5.2.2 compact arrays in pythonarray.array5.3 dynamic arrays and amortization5.3.1 implementing a dynamic...
阅读全文

浙公网安备 33010602011771号