Skip to content

Commit 9471795

Browse files
committed
Book updated: 2017-01-02 11:52:42
1 parent 488dc27 commit 9471795

63 files changed

Lines changed: 564 additions & 558 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Advanced-Features/context.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<!DOCTYPE HTML>
33
<html lang="" >
44
<head>
5-
<title>上下文管理器 · Python 之旅</title>
65
<meta charset="UTF-8">
7-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
86
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
7+
<title>上下文管理器 · Python 之旅</title>
8+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
99
<meta name="description" content="">
10-
<meta name="generator" content="GitBook 3.1.0">
10+
<meta name="generator" content="GitBook 3.2.2">
1111
<meta name="author" content="Ethan">
1212

1313

@@ -89,12 +89,12 @@
8989

9090

9191
<li>
92-
<a href="https://funhacks.net" target="_blank" class="custom-link">Blog</a>
92+
<a href="https://funhacks.net" target="_blank" class="custom-link">个人主页</a>
9393
</li>
9494

9595

9696
<li>
97-
<a href="https://github.com/ethan-funny/explore-python/" target="_blank" class="custom-link">Github</a>
97+
<a href="https://github.com/ethan-funny/explore-python/" target="_blank" class="custom-link">书籍源码</a>
9898
</li>
9999

100100

@@ -1175,9 +1175,9 @@ <h1 id="&#x5C0F;&#x7ED3;">&#x5C0F;&#x7ED3;</h1>
11751175
</ul>
11761176
<h1 id="&#x53C2;&#x8003;&#x8D44;&#x6599;">&#x53C2;&#x8003;&#x8D44;&#x6599;</h1>
11771177
<ul>
1178-
<li><a href="https://www.zhihu.com/question/26387327" _target="blank">&#x7F16;&#x7A0B;&#x4E2D;&#x4EC0;&#x4E48;&#x662F;&#x300C;Context(&#x4E0A;&#x4E0B;&#x6587;)&#x300D;&#xFF1F; - &#x77E5;&#x4E4E;</a></li>
1179-
<li><a href="https://www.ibm.com/developerworks/cn/opensource/os-cn-pythonwith/" _target="blank">&#x6D45;&#x8C08; Python &#x7684; with &#x8BED;&#x53E5;</a></li>
1180-
<li><a href="https://eastlakeside.gitbooks.io/interpy-zh/content/context_managers/" _target="blank">&#x4E0A;&#x4E0B;&#x6587;&#x7BA1;&#x7406;&#x5668; &#xB7; Python&#x8FDB;&#x9636;</a></li>
1178+
<li><a href="https://www.zhihu.com/question/26387327" target="_blank">&#x7F16;&#x7A0B;&#x4E2D;&#x4EC0;&#x4E48;&#x662F;&#x300C;Context(&#x4E0A;&#x4E0B;&#x6587;)&#x300D;&#xFF1F; - &#x77E5;&#x4E4E;</a></li>
1179+
<li><a href="https://www.ibm.com/developerworks/cn/opensource/os-cn-pythonwith/" target="_blank">&#x6D45;&#x8C08; Python &#x7684; with &#x8BED;&#x53E5;</a></li>
1180+
<li><a href="https://eastlakeside.gitbooks.io/interpy-zh/content/context_managers/" target="_blank">&#x4E0A;&#x4E0B;&#x6587;&#x7BA1;&#x7406;&#x5668; &#xB7; Python&#x8FDB;&#x9636;</a></li>
11811181
</ul>
11821182

11831183

@@ -1222,7 +1222,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
12221222
<script>
12231223
var gitbook = gitbook || [];
12241224
gitbook.push(function() {
1225-
gitbook.page.hasChanged({"page":{"title":"上下文管理器","level":"1.7.3","depth":2,"next":{"title":"文件和目录","level":"1.8","depth":1,"path":"File-Directory/README.md","ref":"File-Directory/README.md","articles":[{"title":"读写文本文件","level":"1.8.1","depth":2,"path":"File-Directory/text_file_io.md","ref":"File-Directory/text_file_io.md","articles":[]},{"title":"读写二进制文件","level":"1.8.2","depth":2,"path":"File-Directory/binary_file_io.md","ref":"File-Directory/binary_file_io.md","articles":[]},{"title":"os 模块","level":"1.8.3","depth":2,"path":"File-Directory/os.md","ref":"File-Directory/os.md","articles":[]}]},"previous":{"title":"生成器","level":"1.7.2","depth":2,"path":"Advanced-Features/generator.md","ref":"Advanced-Features/generator.md","articles":[]},"dir":"ltr"},"config":{"plugins":["splitter"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"theme-default":{"showLevel":false,"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"splitter":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"Ethan","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"toc":true,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":true},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Python 之旅","links":{"sharing":{"all":null,"facebook":null,"google":null,"twitter":null,"weibo":null},"sidebar":{"Blog":"https://funhacks.net","Github":"https://github.com/ethan-funny/explore-python/"}},"gitbook":"*","description":"Notes for Learning Python","extension":null},"file":{"path":"Advanced-Features/context.md","mtime":"2016-12-12T13:06:31.000Z","type":"markdown"},"gitbook":{"version":"3.1.0","time":"2016-12-22T02:00:21.562Z"},"basePath":"..","book":{"language":""}});
1225+
gitbook.page.hasChanged({"page":{"title":"上下文管理器","level":"1.7.3","depth":2,"next":{"title":"文件和目录","level":"1.8","depth":1,"path":"File-Directory/README.md","ref":"File-Directory/README.md","articles":[{"title":"读写文本文件","level":"1.8.1","depth":2,"path":"File-Directory/text_file_io.md","ref":"File-Directory/text_file_io.md","articles":[]},{"title":"读写二进制文件","level":"1.8.2","depth":2,"path":"File-Directory/binary_file_io.md","ref":"File-Directory/binary_file_io.md","articles":[]},{"title":"os 模块","level":"1.8.3","depth":2,"path":"File-Directory/os.md","ref":"File-Directory/os.md","articles":[]}]},"previous":{"title":"生成器","level":"1.7.2","depth":2,"path":"Advanced-Features/generator.md","ref":"Advanced-Features/generator.md","articles":[]},"dir":"ltr"},"config":{"plugins":["splitter"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"splitter":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"Ethan","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"toc":true,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":true},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Python 之旅","links":{"sharing":{"all":null,"facebook":null,"google":null,"twitter":null,"weibo":null},"sidebar":{"个人主页":"https://funhacks.net","书籍源码":"https://github.com/ethan-funny/explore-python/"}},"gitbook":"*","description":"Notes for Learning Python","extension":null},"file":{"path":"Advanced-Features/context.md","mtime":"2016-12-12T13:06:31.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-01-02T03:52:24.799Z"},"basePath":"..","book":{"language":""}});
12261226
});
12271227
</script>
12281228
</div>

Advanced-Features/generator.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<!DOCTYPE HTML>
33
<html lang="" >
44
<head>
5-
<title>生成器 · Python 之旅</title>
65
<meta charset="UTF-8">
7-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
86
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
7+
<title>生成器 · Python 之旅</title>
8+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
99
<meta name="description" content="">
10-
<meta name="generator" content="GitBook 3.1.0">
10+
<meta name="generator" content="GitBook 3.2.2">
1111
<meta name="author" content="Ethan">
1212

1313

@@ -89,12 +89,12 @@
8989

9090

9191
<li>
92-
<a href="https://funhacks.net" target="_blank" class="custom-link">Blog</a>
92+
<a href="https://funhacks.net" target="_blank" class="custom-link">个人主页</a>
9393
</li>
9494

9595

9696
<li>
97-
<a href="https://github.com/ethan-funny/explore-python/" target="_blank" class="custom-link">Github</a>
97+
<a href="https://github.com/ethan-funny/explore-python/" target="_blank" class="custom-link">书籍源码</a>
9898
</li>
9999

100100

@@ -1225,10 +1225,10 @@ <h1 id="&#x5C0F;&#x7ED3;">&#x5C0F;&#x7ED3;</h1>
12251225
</ul>
12261226
<h1 id="&#x53C2;&#x8003;&#x8D44;&#x6599;">&#x53C2;&#x8003;&#x8D44;&#x6599;</h1>
12271227
<ul>
1228-
<li><a href="https://www.ibm.com/developerworks/cn/opensource/os-cn-python-yield/" _target="blank">Python yield &#x4F7F;&#x7528;&#x6D45;&#x6790;</a></li>
1229-
<li><a href="http://www.bjhee.com/python-yield.html" _target="blank">&#x8C08;&#x8C08;Python&#x7684;&#x751F;&#x6210;&#x5668; &#x2013; &#x601D;&#x8BDA;&#x4E4B;&#x9053;</a></li>
1230-
<li><a href="https://code-maven.com/function-vs-generator-in-python" _target="blank">Function vs Generator in Python</a></li>
1231-
<li><a href="http://stackoverflow.com/questions/519633/lazy-method-for-reading-big-file-in-python" _target="blank">Lazy Method for Reading Big File in Python? - Stack Overflow</a></li>
1228+
<li><a href="https://www.ibm.com/developerworks/cn/opensource/os-cn-python-yield/" target="_blank">Python yield &#x4F7F;&#x7528;&#x6D45;&#x6790;</a></li>
1229+
<li><a href="http://www.bjhee.com/python-yield.html" target="_blank">&#x8C08;&#x8C08;Python&#x7684;&#x751F;&#x6210;&#x5668; &#x2013; &#x601D;&#x8BDA;&#x4E4B;&#x9053;</a></li>
1230+
<li><a href="https://code-maven.com/function-vs-generator-in-python" target="_blank">Function vs Generator in Python</a></li>
1231+
<li><a href="http://stackoverflow.com/questions/519633/lazy-method-for-reading-big-file-in-python" target="_blank">Lazy Method for Reading Big File in Python? - Stack Overflow</a></li>
12321232
</ul>
12331233

12341234

@@ -1273,7 +1273,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
12731273
<script>
12741274
var gitbook = gitbook || [];
12751275
gitbook.push(function() {
1276-
gitbook.page.hasChanged({"page":{"title":"生成器","level":"1.7.2","depth":2,"next":{"title":"上下文管理器","level":"1.7.3","depth":2,"path":"Advanced-Features/context.md","ref":"Advanced-Features/context.md","articles":[]},"previous":{"title":"迭代器","level":"1.7.1","depth":2,"path":"Advanced-Features/iterator.md","ref":"Advanced-Features/iterator.md","articles":[]},"dir":"ltr"},"config":{"plugins":["splitter"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"theme-default":{"showLevel":false,"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"splitter":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"Ethan","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"toc":true,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":true},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Python 之旅","links":{"sharing":{"all":null,"facebook":null,"google":null,"twitter":null,"weibo":null},"sidebar":{"Blog":"https://funhacks.net","Github":"https://github.com/ethan-funny/explore-python/"}},"gitbook":"*","description":"Notes for Learning Python","extension":null},"file":{"path":"Advanced-Features/generator.md","mtime":"2016-12-12T13:06:31.000Z","type":"markdown"},"gitbook":{"version":"3.1.0","time":"2016-12-22T02:00:21.562Z"},"basePath":"..","book":{"language":""}});
1276+
gitbook.page.hasChanged({"page":{"title":"生成器","level":"1.7.2","depth":2,"next":{"title":"上下文管理器","level":"1.7.3","depth":2,"path":"Advanced-Features/context.md","ref":"Advanced-Features/context.md","articles":[]},"previous":{"title":"迭代器","level":"1.7.1","depth":2,"path":"Advanced-Features/iterator.md","ref":"Advanced-Features/iterator.md","articles":[]},"dir":"ltr"},"config":{"plugins":["splitter"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"splitter":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"Ethan","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"toc":true,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":true},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Python 之旅","links":{"sharing":{"all":null,"facebook":null,"google":null,"twitter":null,"weibo":null},"sidebar":{"个人主页":"https://funhacks.net","书籍源码":"https://github.com/ethan-funny/explore-python/"}},"gitbook":"*","description":"Notes for Learning Python","extension":null},"file":{"path":"Advanced-Features/generator.md","mtime":"2016-12-12T13:06:31.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-01-02T03:52:24.799Z"},"basePath":"..","book":{"language":""}});
12771277
});
12781278
</script>
12791279
</div>

Advanced-Features/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<!DOCTYPE HTML>
33
<html lang="" >
44
<head>
5-
<title>高级特性 · Python 之旅</title>
65
<meta charset="UTF-8">
7-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
86
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
7+
<title>高级特性 · Python 之旅</title>
8+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
99
<meta name="description" content="">
10-
<meta name="generator" content="GitBook 3.1.0">
10+
<meta name="generator" content="GitBook 3.2.2">
1111
<meta name="author" content="Ethan">
1212

1313

@@ -89,12 +89,12 @@
8989

9090

9191
<li>
92-
<a href="https://funhacks.net" target="_blank" class="custom-link">Blog</a>
92+
<a href="https://funhacks.net" target="_blank" class="custom-link">个人主页</a>
9393
</li>
9494

9595

9696
<li>
97-
<a href="https://github.com/ethan-funny/explore-python/" target="_blank" class="custom-link">Github</a>
97+
<a href="https://github.com/ethan-funny/explore-python/" target="_blank" class="custom-link">书籍源码</a>
9898
</li>
9999

100100

@@ -1086,7 +1086,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
10861086
<script>
10871087
var gitbook = gitbook || [];
10881088
gitbook.push(function() {
1089-
gitbook.page.hasChanged({"page":{"title":"高级特性","level":"1.7","depth":1,"next":{"title":"迭代器","level":"1.7.1","depth":2,"path":"Advanced-Features/iterator.md","ref":"Advanced-Features/iterator.md","articles":[]},"previous":{"title":"陌生的 metaclass","level":"1.6.8","depth":2,"path":"Class/metaclass.md","ref":"Class/metaclass.md","articles":[]},"dir":"ltr"},"config":{"plugins":["splitter"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"theme-default":{"showLevel":false,"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"splitter":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"Ethan","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"toc":true,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":true},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Python 之旅","links":{"sharing":{"all":null,"facebook":null,"google":null,"twitter":null,"weibo":null},"sidebar":{"Blog":"https://funhacks.net","Github":"https://github.com/ethan-funny/explore-python/"}},"gitbook":"*","description":"Notes for Learning Python","extension":null},"file":{"path":"Advanced-Features/README.md","mtime":"2016-12-12T13:06:31.000Z","type":"markdown"},"gitbook":{"version":"3.1.0","time":"2016-12-22T02:00:21.562Z"},"basePath":"..","book":{"language":""}});
1089+
gitbook.page.hasChanged({"page":{"title":"高级特性","level":"1.7","depth":1,"next":{"title":"迭代器","level":"1.7.1","depth":2,"path":"Advanced-Features/iterator.md","ref":"Advanced-Features/iterator.md","articles":[]},"previous":{"title":"陌生的 metaclass","level":"1.6.8","depth":2,"path":"Class/metaclass.md","ref":"Class/metaclass.md","articles":[]},"dir":"ltr"},"config":{"plugins":["splitter"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"splitter":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"Ethan","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"toc":true,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":true},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Python 之旅","links":{"sharing":{"all":null,"facebook":null,"google":null,"twitter":null,"weibo":null},"sidebar":{"个人主页":"https://funhacks.net","书籍源码":"https://github.com/ethan-funny/explore-python/"}},"gitbook":"*","description":"Notes for Learning Python","extension":null},"file":{"path":"Advanced-Features/README.md","mtime":"2016-12-12T13:06:31.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-01-02T03:52:24.799Z"},"basePath":"..","book":{"language":""}});
10901090
});
10911091
</script>
10921092
</div>

0 commit comments

Comments
 (0)