Real Python - When is Python the right choice?

Hey there,

When I grew up in Germany as a kid there was this craze about “desks that can grow with you.”

The idea was you’d buy your kid an adjustable desk and then they’d be able to use it throughout their whole education career.

As your kid grows taller, so does his or her desk.

Just turn the little crank handle every few months...

And voila, you're right on track for raising the next Albert Einstein or Marie Curie.

I think Python is a great “adjustable desk” language.

With the small but important difference that Python is also a much prettier desk.

One that you wouldn’t be embarrassed of using past elementary school.

And one you’d be okay with showing to your girlfriend/boyfriend.

(Okay, time to stop with that desk analogy.)

My point is this:

What I love about Python is how it scales so well—from writing simple prototypes to validate an idea, all the way to building "production grade" systems.

Sure, sometimes it would be nice to have a compiler and static type checks to lean on—but often I realized that I would've never come this far in so little time with Java or C++.

(And with optional type hints in Python 3 and type checking tools like MyPy this gap is starting to close.)

But not only does Python scale and grow with the project at hand, it also scales and grows with your skills as a developer.

It's relatively easy to get started with Python—but it's not going to prevent you from growing as a developer and getting impressive real-world work done with it.

My friend Michael Kennedy refers to it as a "full spectrum" language. And I really like that as an analogy.

Python spans the gamut from "print('hello, world')" all the way to running the back-end infrastructure for massive applications like Reddit, Instagram, or YouTube.

Now, is using Python ALWAYS the right choice?

No.

No single programming language is.

For example, it's unlikely you're going to write a real-time operating system kernel in Python.

Neither will id Software use it to implement their next-generation rendering engine...

But millions of developers around the world are using Python to build web applications, write data-crunching pipelines, generate reports, automate tests, conduct research, and do all kinds of other amazing work in a multitude of domains.

By learning Python you're not limiting yourself to a specific niche.

And that's what I really like about this adorable, "adjustable desk" of a language.

Happy Pythoning!

— Dan Bader (RealPython.com)

Older messages

New Python tutorials on Real Python

Saturday, May 2, 2020

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: The Python pickle Module: How to Persist

New Python tutorials on Real Python

Saturday, April 25, 2020

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Effective Python Testing With Pytest In this

A story about Python mastery

Friday, April 24, 2020

Hey there, A couple of years ago I'd become quite interested in martial arts. Hours upon hours of watching "The Karate Kid" growing up must've taken their toll on me... And so, I

last call

Thursday, April 23, 2020

Hey there, Just a quick heads up that our PSF Fundraiser discount on Real Python expires in just a few hours. -> Claim your discount + support the PSF — Dan Bader To make sure you keep getting these

Support the PSF & Improve your Python skills [Update]

Wednesday, April 22, 2020

Hey there, Quick update, so far we've already collected almost $1000 for the Python Software Foundation (PSF) with our charity sale and donation drive: Image If you're wondering what this is

You Might Also Like

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your