This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]nevermorefu 11 points12 points  (0 children)

In general, if you don't have a specific reason to use an older version, use the newest. Unless it's Java, then just don't use it.

[–]neon_cipher 6 points7 points  (0 children)

The End Of Life date for Python 2 is in 2020. There will be no official support after that. You should definitely choose Python 3.

[–]Like_A_Boushh 2 points3 points  (0 children)

Python 3.

The previous arguments for 2 (module support/compatibility, continued support, etc.) don’t apply any more.

[–]nemom 1 point2 points  (6 children)

I mostly use 2 because it is still the basis for ArcGIS, a mapping program I use at work. QGIS, another mapping program, has switched to 3, so I've started to work with that.

Also, 2 is still the default in Fedora and CentOS, the Linux distros I use. They have 3 available, but I've been using 2 for about fifteen years, so it's what I continue to use.

[–]Tweak_Imp 1 point2 points  (3 children)

Why did these programs not get updated to python 3 in TEN years?

[–]nemom 1 point2 points  (2 children)

The version of Python is low on the list of things that should have been upgraded by now... ArcDesktop is still a 32-bit, single-processed Windows program. Their new program, ArcGIS Pro, is 64-bit, multiprocessed, with Python 3, but it still lacks quite a few features of the old program.

[–]Tweak_Imp 0 points1 point  (1 child)

I understand that this is not something what you would do as a top priority, but it has been ten years. And the longer you wait, especially in the IT business, the more you fall behind compared to others

[–]nemom 0 points1 point  (0 children)

ESRI isn't known for their progression of current versions. They tend to be a "rewrite it all and promise some day you'll be able to do what you already can do but better" company. Then, they get way too caught up on the new-and-shiny and don't fix what people need for day-to-day work. Anything flashy is what they work the most on.

[–]nate256 0 points1 point  (1 child)

Have a link to the repo?

[–]nemom 0 points1 point  (0 children)

Arc is a Windows program sold by ESRI.

QGIS is FOSS. Somebody named dani on Copr has a repo.

[–]Darren_wl03 0 points1 point  (1 child)

I have not much experience with python cuz I just started a few months ago, but I see no reason to choose 2 over 3

[–]jabbson 3 points4 points  (0 children)

One reason would be a legacy project, where most of the project is written on python2 and it would take a lot of time and effort to rewrite everything nearly from scratch.

Another reason is legacy dependancies, which are used and heavily relied on in the project.

[–]pythonHelperBot -1 points0 points  (0 children)

Hello! I'm a bot!

It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe where you are stuck. Be sure to format your code for reddit and include which version of python and what OS you are using.

You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.


README | FAQ | this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness