夢想家活一身, 學無限~ 夢不息, 心不倦~ |
|
學術及資源的交流園地 ^_^ selinux由 datahunter 在 一, 19/11/2012 - 16:27 發表
»
11. iterator由 datahunter 在 四, 15/11/2012 - 16:15 發表
»
varnish由 datahunter 在 三, 14/11/2012 - 17:49 發表介紹varnish 是一個 CDN 級的 Web Reverse Proxy. 它的設計是在 64-bit multi-core 的環境運作的. 它有兩個特點
Home Page: https://www.varnish-cache.org
»
12. keyword: with ... as vars由 datahunter 在 五, 09/11/2012 - 15:37 發表
介紹The with statement is used to wrap the execution of a block with methods defined by a context manager. (try...except...finally) https://www.python.org/dev/peps/pep-0343/ The with statement guarantees that if the __enter__() method returns without an error, then __exit__() will always be called. Thus, if an error occurs during the assignment to the target list, it will be treated the same as an error occurring within the suite would be. 寫法:with expression [as variable]: with-block
»
|