September 2nd, 2024

Python Developer Survey: 55% use Linux, 6% use Python 2

The 7th annual Python Developers Survey revealed 85% of over 25,000 respondents use Python as their primary language, with 73% on recent versions and 37% contributing to open-source projects.

Read original articleLink Icon
Python Developer Survey: 55% use Linux, 6% use Python 2

More than 25,000 Python developers participated in the 7th annual Python Developers Survey conducted between November 2023 and February 2024. The survey revealed that 85% of respondents consider Python their primary programming language. Notably, the usage of Python 2 has decreased to 6%, down from 7% last year, with many of its users being under 21 years old, possibly due to educational courses still teaching it. The survey also indicated that 73% of developers are using one of the latest Python versions (3.10, 3.11, or 3.12). The operating systems used by developers showed a split, with 55% using Linux, 55% using Windows, and 29% on MacOS. Visual Studio Code emerged as the most popular IDE, followed by Jupyter Notebook and Vim. A significant portion of developers (37%) reported contributing to open-source projects in the past year. The age distribution of respondents showed that 32% were aged 21-29, while 49% had less than two years of programming experience. The primary applications of Python among developers included data analysis and web development, each at 44%, followed by machine learning at 34%. The survey was a collaborative effort between the Python Software Foundation and JetBrains, aiming to enhance community engagement.

- 55% of Python developers use Linux, with an equal percentage using Windows.

- 6% of respondents still use Python 2, primarily among younger developers.

- Visual Studio Code is the most popular IDE, used by 22% of developers.

- 37% of developers contributed to open-source projects in the last year.

- Data analysis and web development are the most common uses for Python among developers.

Link Icon 1 comments
By @ggm - 8 months
It has a certain 80/20 feel but I do think the amount of time we need to invest in finding why people hang on to python2 is worth the investment, but the returns to investment will be diminishing constantly. For me it has been mostly finding the py2 scripts before I find the py3 uplifts, and I have been too lazy to remove the local refs to the py2 so just re-hack the print () in, and install the pip dependencies. I think I have hit two languageisms which made me wince, in that time

At some level, you just accept. I have a favourite game (zork) which is a fortran translation of the original DDL, uplifted into BSD 3 or more decades ago, and since converted to C, but the build instructions do suggest keeping the fortran around and there are fragments of DDL wisdom in the codebase. I kind of miss not playing the fortran code, but even that made me (at one remove) an interloper given that was a translation from older code.