Skip to content

Commit 68dd537

Browse files
committed
updating python 2 or 3 page
1 parent 343e1ad commit 68dd537

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

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

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ as the final version 2 release, Python 2.7, is approaching its end-of-life
1616
that is definitively scheduled for
1717
[January 1, 2020](https://mail.python.org/pipermail/python-dev/2018-March/152348.html).
1818

19-
The simple answer right now is: learn Python 3, specifically the latest
20-
version which as of May 2018 is
21-
[Python 3.6.5](https://www.python.org/downloads/). If for some reason you
19+
The simple answer right now is: *learn Python 3*, specifically the latest
20+
version which as of October 2019 is
21+
[Python 3.7](https://www.python.org/downloads/). If for some reason you
2222
absolutely have to learn Python 2, for example because your employer is
2323
working on a bunch of legacy code, you will be able to transfer the majority
2424
of your knowledge from Python 2 right into Python 3. Likewise, you will
@@ -30,12 +30,16 @@ version 2 experience. Python 3 is the future and you will not regret
3030
starting with the latest version of the
3131
[programming language](/learning-programming.html).
3232

33-
One caveat to the recommendation to go full-on Python 3. If you are
34-
interested in DevOps-type work with
33+
There is one small caveat to the recommendation to go full-on Python 3.
34+
You may infrequently come across lesser-used open source code libraries
35+
that were originally written in Python 2 that do not completely support
36+
Python 3. That was the case before 2019 with [DevOps](/devops.html)
3537
[configuration management tools](/configuration-management.html) such as
36-
[Fabric](http://www.fabfile.org/) or [Ansible](/ansible.html), then you
37-
may have to sometimes use both Python 2 and 3 because parts of these
38-
libraries are lagging in full Python 3 support.
38+
[Fabric](http://www.fabfile.org/) or [Ansible](/ansible.html). However,
39+
those libraries now support Python 3 and the usage problems that were
40+
frequent in years past are now typically not a concern. Knowing how
41+
to upgrade Python 2 libraries to 3.x is still a useful skill to apply
42+
at the edges of the Python open source community.
3943

4044

4145
## Visualizations and Projects

0 commit comments

Comments
 (0)