Why Is Python So Popular in 2025? – The PyCharm Blog

blog.jetbrains.com

31 points by rbanffy an hour ago


ryandrake - an hour ago

I never really took Python seriously, but lately I've been programming almost all of my personal projects in Python. The way I see it: For any kind of project I might take on, Python is never the best language to do it in, but is almost always the second-best language to do it in. This makes it a great default, especially if it's just a little one-off tool or experiment.

drnick1 - 23 minutes ago

My use case is scientific computing and for that Python is excellent thanks to Numpy, IPython and Numba. It's often possible to write code that is nearly as fast as C, but it's far easier to write and debug, since you can just inspect and run code snippets in the shell. In that regard, it's similar to MATLAB, but it's FOSS and faster with the right libraries.

mg - an hour ago

Because:

1: Simple is better than complex.

2: Beautiful is better than ugly.

3: Readability counts.

Winners across many markets seem to get the importance of simplicity. Compare the Google homepage to the Bing homepage. The dashboard of a Tesla to that of a Volkswagen. Remember how hardcore lean Facebook's UI was compared to MySpace?

callc - an hour ago

Regardless of the reasons why, the fact is python works well enough.

There are many things I wish python, or a language like python, could improve on. Yet despite all my wishes, and choosing Rust/Go more often recently, Python still works.

I’m in a love/hate relationship with python. I think it’s becoming more of acceptance now haha.

janalsncm - 24 minutes ago

Maybe one factor is its versatility in leetcode, which to a first approximation every SWE has to do.

Declare sets, lists, and maps in one line. Don’t need to worry about overflow or underflow. Slicing is extremely convenient and expressive. Types not necessary, but that’s rarely confusing in short code blocks.

Compare to js, you’re immediately dealing with var/let/const decisions using up unnecessary mental energy.

larrik - an hour ago

I'm surprised at the negative comments about Python here. Python has been my favorite language since I learned it, and nothing else has come close to it.

I'm currently on pure JS project (node and vue) and I'm constantly fighting with things that would be trivial in python or django. Also getting into .NET world and not impressed with that at all.

I know folks like Go, but in decades of being a software consultant I've come across zero companies using it or hiring for it.

fghorow - 26 minutes ago

For me, a python user since the late '90s, the answer has always been simple:

Guido has taste.

YouWhy - 41 minutes ago

I think Python's centrality is a consequence of its original purpose as a language intended for instruction.

Yeah, some of its design decisions required immense cost and time to overcome to make for viable production solutions. However as it turns out, however suboptimal it is a language, this is quite made up by the presence of a huge workforce that's decently qualified to wield it.

- 10 minutes ago
[deleted]
lonelyasacloud - an hour ago

Perl 6

inglor_cz - 18 minutes ago

I have written code in Pascal, C, C++, Java, TypeScript, PHP and Python in my life.

Of this entire pack, Python seems to have the widest ecosystem of libraries. I don't think I ever ran into a "have to reinvent the wheel" problem.

Need to run four test operations in parallel? asyncio.gather(). Need to run something every five minutes? schedule.every(). In most cases, it is a one-liner, or at most two-liner, no sophisticated setup necessary, and your actual business logic isn't diluted by tons of technical code.

Performance-critical parts can be always programmed in C and invoked from the Python code proper.

jmyeet - 38 minutes ago

Python’s popularity seems to me driven by ML and data science.

Personally, I can’t take seriously any language without a good type system and, no, optional type hints don’t count. Such a type system should express nullability and collection parameterization (ie genetics).

I simply won’t write a lot of code in any language where a typo or misspelling is a runtime error.

internetter - an hour ago

I continue to believe that python is only still popular for the ecosystem effect. Students are taught it, a bunch of libraries were written for it, now everyone keeps using it.

But its syntactically weak? Python itself is slow? pip is awful (although uv is pretty good). Sometimes I am forced to write python because the packages I need are written for it but I always hate it.

j45 - an hour ago

Something like uv has been long, long over due.

bgwalter - an hour ago

Most people don't run any Python programs on their machines except for OS package managers. Google and others moved to Go, and the Python job market does not reflect these statistics at all.

Python is well marketed, with dissenting voices silenced, de-platformed and defamed with PSF involvement. That way many users think the Python ruling class are nice people. It is therefore popular among scientists (who buy expensive training courses) and students (who are force fed Python at university).

It has a good C-API, which is the main reason for its popularity in machine learning. Fortunately for Python, other languages do not take note and insist on FFIs etc.

EDIT: The downvotes are ironic given that Python needs to be marketed every three day here with a a statistic to retain its popularity. If it is so popular, why the booster articles?