Skip to content

Commit ba9a4f3

Browse files
committed
new python 2 or 3 resources
1 parent e9b6ca0 commit ba9a4f3

File tree

5 files changed

+58
-15
lines changed

5 files changed

+58
-15
lines changed

all.html

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,18 +223,19 @@ <h3>More perspectives on why to use Python</h3>
223223
<h1>Python 2 or 3?</h1>
224224
<p>The Python programming language is currently in the midst of a long-term
225225
transition from version 2 to version 3. New programmers typically have many
226-
questions about which version they should learn. It's confusing to hear
226+
questions about which version they should learn. It is confusing to hear
227227
that Python 3, which was originally released in 2008, is still not the default
228-
installation on many operating systems.</p>
228+
installation on some operating systems.</p>
229229
<p>Here's the good news: you can't go wrong starting with either version. While
230230
there are differences in unicode and syntax, for the most part if you
231231
start with Python 2 and then learn Python 3 you won't be starting from
232232
scratch. Likewise, you'll be able to read and write Python 2 code if you
233233
started with Python 3.</p>
234-
<p>My personal recommendation for new programmers as of right now is to use
235-
Python 3. There are enough <a href="/best-python-resources.html">great resources</a>
234+
<p>That said, my personal recommendation for new programmers as of right
235+
now is to use Python 3, specifically 3.6 as of January 2017. There are
236+
enough <a href="/best-python-resources.html">great resources</a>
236237
out there that teach version 3 from the ground up. Python 3 is the future
237-
and you will not regret starting with the "correct" version of the
238+
and you will not regret starting with the latest version of the
238239
programming language.</p>
239240
<p>However, if you are interested in DevOps-type work with
240241
<a href="/configuration-management.html">configuration management tools</a> such as
@@ -291,6 +292,13 @@ <h3>Porting to Python 3 resources</h3>
291292
is a screencast showing how to run both Python 2 and 3 for different
292293
projects using pyenv.</p>
293294
</li>
295+
<li>
296+
<p><a href="https://tech.yplanapp.com/2016/08/24/upgrading-to-python-3-with-zero-downtime/">Upgrading to Python 3 with Zero Downtime</a>
297+
supplies advice on transitioning a large existing Python 2 web application
298+
to Python 3. Their process involved upgrading dependencies, testing and
299+
deploying the new version before going back to clean up unnecessary code
300+
created by the transition.</p>
301+
</li>
294302
</ul>
295303
<h3>Python 2 to 3 resources</h3>
296304
<ul>
@@ -347,6 +355,12 @@ <h3>Python 2 to 3 resources</h3>
347355
strongly encourages Python 3 adoption by publicly stating their
348356
intentions. </p>
349357
</li>
358+
<li>
359+
<p>Only 28% of dependencies still only support Python 2, according to
360+
<a href="https://medium.com/broken-window/python-3-support-for-third-party-libraries-dcd7a156e5bd">this post's analysis of 6000 Python libraries</a>.
361+
The other 72% of libraries either support both Python 2 &amp; 3 (14%), or only
362+
support Python 3 (58%).</p>
363+
</li>
350364
</ul>
351365
<h1>Enterprise Python</h1>
352366
<p>One of the misconceptions around Python and other dynamically-typed languages
@@ -9848,6 +9862,7 @@ <h1>Change Log</h1>
98489862
<h2>2017</h2>
98499863
<h3>January</h3>
98509864
<ul>
9865+
<li>Added new resources to the <a href="/python-2-or-3.html">Python 2 or 3?</a> page.</li>
98519866
<li>Fixed all 404 link rot on every page. However, if a page has been rewritten
98529867
or redirected and is no longer valuable as a link, please
98539868
<a href="https://twitter.com/fullstackpython">tweet me</a> or

change-log.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ <h1>Change Log</h1>
4343
<h2>2017</h2>
4444
<h3>January</h3>
4545
<ul>
46+
<li>Added new resources to the <a href="/python-2-or-3.html">Python 2 or 3?</a> page.</li>
4647
<li>Fixed all 404 link rot on every page. However, if a page has been rewritten
4748
or redirected and is no longer valuable as a link, please
4849
<a href="https://twitter.com/fullstackpython">tweet me</a> or

python-2-or-3.html

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,19 @@
4646
<h1>Python 2 or 3?</h1>
4747
<p>The Python programming language is currently in the midst of a long-term
4848
transition from version 2 to version 3. New programmers typically have many
49-
questions about which version they should learn. It's confusing to hear
49+
questions about which version they should learn. It is confusing to hear
5050
that Python 3, which was originally released in 2008, is still not the default
51-
installation on many operating systems.</p>
51+
installation on some operating systems.</p>
5252
<p>Here's the good news: you can't go wrong starting with either version. While
5353
there are differences in unicode and syntax, for the most part if you
5454
start with Python 2 and then learn Python 3 you won't be starting from
5555
scratch. Likewise, you'll be able to read and write Python 2 code if you
5656
started with Python 3.</p>
57-
<p>My personal recommendation for new programmers as of right now is to use
58-
Python 3. There are enough <a href="/best-python-resources.html">great resources</a>
57+
<p>That said, my personal recommendation for new programmers as of right
58+
now is to use Python 3, specifically 3.6 as of January 2017. There are
59+
enough <a href="/best-python-resources.html">great resources</a>
5960
out there that teach version 3 from the ground up. Python 3 is the future
60-
and you will not regret starting with the "correct" version of the
61+
and you will not regret starting with the latest version of the
6162
programming language.</p>
6263
<p>However, if you are interested in DevOps-type work with
6364
<a href="/configuration-management.html">configuration management tools</a> such as
@@ -114,6 +115,13 @@ <h3>Porting to Python 3 resources</h3>
114115
is a screencast showing how to run both Python 2 and 3 for different
115116
projects using pyenv.</p>
116117
</li>
118+
<li>
119+
<p><a href="https://tech.yplanapp.com/2016/08/24/upgrading-to-python-3-with-zero-downtime/">Upgrading to Python 3 with Zero Downtime</a>
120+
supplies advice on transitioning a large existing Python 2 web application
121+
to Python 3. Their process involved upgrading dependencies, testing and
122+
deploying the new version before going back to clean up unnecessary code
123+
created by the transition.</p>
124+
</li>
117125
</ul>
118126
<h3>Python 2 to 3 resources</h3>
119127
<ul>
@@ -170,6 +178,12 @@ <h3>Python 2 to 3 resources</h3>
170178
strongly encourages Python 3 adoption by publicly stating their
171179
intentions. </p>
172180
</li>
181+
<li>
182+
<p>Only 28% of dependencies still only support Python 2, according to
183+
<a href="https://medium.com/broken-window/python-3-support-for-third-party-libraries-dcd7a156e5bd">this post's analysis of 6000 Python libraries</a>.
184+
The other 72% of libraries either support both Python 2 &amp; 3 (14%), or only
185+
support Python 3 (58%).</p>
186+
</li>
173187
</ul>
174188
<h3>What's next now that you know about Python versions?</h3>
175189
<div class="row">

source/content/pages/01-introduction/04-python-2-or-3.markdown

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,21 @@ meta: Learn about whether you should use Python version 2 or 3 to build your app
1010
# Python 2 or 3?
1111
The Python programming language is currently in the midst of a long-term
1212
transition from version 2 to version 3. New programmers typically have many
13-
questions about which version they should learn. It's confusing to hear
13+
questions about which version they should learn. It is confusing to hear
1414
that Python 3, which was originally released in 2008, is still not the default
15-
installation on many operating systems.
15+
installation on some operating systems.
1616

1717
Here's the good news: you can't go wrong starting with either version. While
1818
there are differences in unicode and syntax, for the most part if you
1919
start with Python 2 and then learn Python 3 you won't be starting from
2020
scratch. Likewise, you'll be able to read and write Python 2 code if you
2121
started with Python 3.
2222

23-
My personal recommendation for new programmers as of right now is to use
24-
Python 3. There are enough [great resources](/best-python-resources.html)
23+
That said, my personal recommendation for new programmers as of right
24+
now is to use Python 3, specifically 3.6 as of January 2017. There are
25+
enough [great resources](/best-python-resources.html)
2526
out there that teach version 3 from the ground up. Python 3 is the future
26-
and you will not regret starting with the "correct" version of the
27+
and you will not regret starting with the latest version of the
2728
programming language.
2829

2930
However, if you are interested in DevOps-type work with
@@ -76,6 +77,12 @@ gone through the process and have advice for making it less painful.
7677
is a screencast showing how to run both Python 2 and 3 for different
7778
projects using pyenv.
7879

80+
* [Upgrading to Python 3 with Zero Downtime](https://tech.yplanapp.com/2016/08/24/upgrading-to-python-3-with-zero-downtime/)
81+
supplies advice on transitioning a large existing Python 2 web application
82+
to Python 3. Their process involved upgrading dependencies, testing and
83+
deploying the new version before going back to clean up unnecessary code
84+
created by the transition.
85+
7986

8087
### Python 2 to 3 resources
8188
* [Why should I use Python 3?](https://eev.ee/blog/2016/07/31/python-faq-why-should-i-use-python-3/)
@@ -122,3 +129,8 @@ gone through the process and have advice for making it less painful.
122129
strongly encourages Python 3 adoption by publicly stating their
123130
intentions.
124131

132+
* Only 28% of dependencies still only support Python 2, according to
133+
[this post's analysis of 6000 Python libraries](https://medium.com/broken-window/python-3-support-for-third-party-libraries-dcd7a156e5bd).
134+
The other 72% of libraries either support both Python 2 & 3 (14%), or only
135+
support Python 3 (58%).
136+

source/content/pages/12-meta/01-change-log.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ inception in December 2012. You can view detailed changes via the
1515

1616
## 2017
1717
### January
18+
* Added new resources to the [Python 2 or 3?](/python-2-or-3.html) page.
1819
* Fixed all 404 link rot on every page. However, if a page has been rewritten
1920
or redirected and is no longer valuable as a link, please
2021
[tweet me](https://twitter.com/fullstackpython) or

0 commit comments

Comments
 (0)