Skip to content

Commit b768e55

Browse files
author
linuxcpp
committed
Site updated: 2021-01-05 17:29:16
1 parent 5ae241a commit b768e55

7 files changed

Lines changed: 134 additions & 134 deletions

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/index.html‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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>文章字数:&nbsp;&nbsp;
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">&gt;&gt;&gt; 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+
&gt;&gt;&gt; python --version
400400
# 或
401401
import sys
402402
print(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) &gt;= 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/>

‎archives/2020/12/index.html‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,10 @@
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
&gt;&gt;&gt; python --version
398-
398+
# 或
399+
im
399400

400401
</div>
401402
<div class="publish-info">

‎archives/2020/index.html‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,10 @@
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
&gt;&gt;&gt; python --version
398-
398+
# 或
399+
im
399400

400401
</div>
401402
<div class="publish-info">

‎archives/index.html‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,10 @@
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
&gt;&gt;&gt; python --version
398-
398+
# 或
399+
im
399400

400401
</div>
401402
<div class="publish-info">

‎atom.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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>
@@ -21,7 +21,7 @@
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

‎index.html‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
&gt;&gt;&gt; python --version
615-
615+
# 或
616+
im
616617

617618
</div>
618619
<div class="publish-info">

0 commit comments

Comments
 (0)