File tree Expand file tree Collapse file tree
2020/12/31/du-effective-python-bian-xie-gao-zhi-liang-python-dai-ma-de-59-ge-you-xiao-fang-fa-xiao-ji Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ <h1 class="description center-align post-title">读《Effective Python:编写高
373373
374374 < div class ="info-break-policy ">
375375 < i class ="far fa-file-word fa-fw "> </ i > 文章字数:
376- 561
376+ 560
377377 </ div >
378378
379379
@@ -395,12 +395,12 @@ <h1 class="description center-align post-title">读《Effective Python:编写高
395395 < hr class ="clearfix ">
396396 < div class ="card-content article-card-content ">
397397 < div id ="articleContent ">
398- < h2 id ="读《Effective-Python-编写高质量Python代码的59个有效方法》小记 "> < a href ="#读《Effective-Python-编写高质量Python代码的59个有效方法》小记 " class ="headerlink " title ="读《Effective Python:编写高质量Python代码的59个有效方法》小记 "> </ a > 读《Effective Python:编写高质量Python代码的59个有效方法》小记</ h2 > < h4 id ="1-Python式编程风格-Pythonic "> < a href ="#1-Python式编程风格-Pythonic " class ="headerlink " title ="1. Python式编程风格(Pythonic) "> </ a > 1. Python式编程风格(Pythonic)</ h4 > < p > 1. 选定合适的python版本</ p >
399- < pre class =" line-numbers language-python " data-language =" python " > < code class =" language-python " > >>> python --version
398+ < h2 id ="读《Effective-Python-编写高质量Python代码的59个有效方法》小记 "> < a href ="#读《Effective-Python-编写高质量Python代码的59个有效方法》小记 " class ="headerlink " title ="读《Effective Python:编写高质量Python代码的59个有效方法》小记 "> </ a > 读《Effective Python:编写高质量Python代码的59个有效方法》小记</ h2 > < h4 id ="1-Python式编程风格-Pythonic "> < a href ="#1-Python式编程风格-Pythonic " class ="headerlink " title ="1. Python式编程风格(Pythonic) "> </ a > 1. Python式编程风格(Pythonic)</ h4 > < pre class =" line-numbers language-python " data-language =" python " > < code class =" language-python " > # 选定合适的python版本
399+ >>> python --version
400400# 或
401401import sys
402402print(sys.version_info)
403- print(sys.version)< span aria-hidden ="true " class ="line-numbers-rows "> < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > </ span > </ code > </ pre >
403+ print(sys.version)< span aria-hidden ="true " class ="line-numbers-rows "> < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < /span > </ code > </ pre >
404404
405405
406406
@@ -463,8 +463,6 @@ <h4 id="5-推导式"><a href="#5-推导式" class="headerlink" title="5. 推导
463463 for row in matrix if sum(row) >= 10]
464464< span aria-hidden ="true " class ="line-numbers-rows "> < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > < span > </ span > </ span > </ code > </ pre >
465465
466-
467-
468466< h4 id ="6-生成器 "> < a href ="#6-生成器 " class ="headerlink " title ="6. 生成器 "> </ a > 6. 生成器</ h4 >
469467 </ div >
470468 < hr />
Original file line number Diff line number Diff line change 393393 < div class ="card-content article-content ">
394394 < div class ="summary block-with-text ">
395395
396- 读《Effective Python:编写高质量Python代码的59个有效方法》小记1. Python式编程风格(Pythonic) 1. 选定合适的python版本
396+ 读《Effective Python:编写高质量Python代码的59个有效方法》小记1. Python式编程风格(Pythonic)# 选定合适的python版本
397397>>> python --version
398-
398+ # 或
399+ im
399400
400401 </ div >
401402 < div class ="publish-info ">
Original file line number Diff line number Diff line change 393393 < div class ="card-content article-content ">
394394 < div class ="summary block-with-text ">
395395
396- 读《Effective Python:编写高质量Python代码的59个有效方法》小记1. Python式编程风格(Pythonic) 1. 选定合适的python版本
396+ 读《Effective Python:编写高质量Python代码的59个有效方法》小记1. Python式编程风格(Pythonic)# 选定合适的python版本
397397>>> python --version
398-
398+ # 或
399+ im
399400
400401 </ div >
401402 < div class ="publish-info ">
Original file line number Diff line number Diff line change 393393 < div class ="card-content article-content ">
394394 < div class ="summary block-with-text ">
395395
396- 读《Effective Python:编写高质量Python代码的59个有效方法》小记1. Python式编程风格(Pythonic) 1. 选定合适的python版本
396+ 读《Effective Python:编写高质量Python代码的59个有效方法》小记1. Python式编程风格(Pythonic)# 选定合适的python版本
397397>>> python --version
398-
398+ # 或
399+ im
399400
400401 </ div >
401402 < div class ="publish-info ">
Original file line number Diff line number Diff line change 66 <link href =" http://daozheng.wang/atom.xml" rel =" self" />
77
88 <link href =" http://daozheng.wang/" />
9- <updated >2021-01-05T08:33:34.980Z </updated >
9+ <updated >2021-01-05T09:28:51.144Z </updated >
1010 <id >http://daozheng.wang/</id >
1111
1212 <author >
2121 <link href =" http://daozheng.wang/2020/12/31/du-effective-python-bian-xie-gao-zhi-liang-python-dai-ma-de-59-ge-you-xiao-fang-fa-xiao-ji/" />
2222 <id >http://daozheng.wang/2020/12/31/du-effective-python-bian-xie-gao-zhi-liang-python-dai-ma-de-59-ge-you-xiao-fang-fa-xiao-ji/</id >
2323 <published >2020-12-31T02:56:40.000Z</published >
24- <updated >2021-01-05T08:33:34.980Z </updated >
24+ <updated >2021-01-05T09:28:51.144Z </updated >
2525
2626
2727
Original file line number Diff line number Diff line change @@ -610,9 +610,10 @@ <h3 class="post-title">回忆父亲和我一些事</h3>
610610 < div class ="card-content article-content ">
611611 < div class ="summary block-with-text ">
612612
613- 读《Effective Python:编写高质量Python代码的59个有效方法》小记1. Python式编程风格(Pythonic) 1. 选定合适的python版本
613+ 读《Effective Python:编写高质量Python代码的59个有效方法》小记1. Python式编程风格(Pythonic)# 选定合适的python版本
614614>>> python --version
615-
615+ # 或
616+ im
616617
617618 </ div >
618619 < div class ="publish-info ">
You can’t perform that action at this time.
0 commit comments