10 Tips to Become REALLY Good at Python | Issue #37


Hi there,

Let’s talk about Python—the language we all love. ❤️ You might think you know your way around it, but even senior developers can fall into common traps or miss out on some of its best features.

In this week’s video, I break down 10 tips that will make your code cleaner, faster, and more Pythonic.

For example, comprehensions are not just for lists—you can use them for sets, dictionaries, and even generators. And if you’re not using f-strings yet… well, you’re missing out on a lot of readability and power!

The last tip, though, is my personal favorite—it’s one I wish more developers knew when I review their code.

Cheers,

Arjan

# News

Generative AI Is Not Going to Build Your Team

Generative AI tools like ChatGPT and GitHub Copilot can supercharge productivity, but let’s be real—they won’t replace the creativity, collaboration, or critical thinking of a skilled engineering team. 🚀

As this Stack Overflow article points out, AI can’t handle complex team dynamics or bring that essential human touch to innovation. Think of AI as your assistant, not your substitute—a powerful sidekick that helps you level up, not take over. Read the full article here.

Insane and Fun Facts About SQLite

SQLite is the most widely deployed database engine in the world, powering over a trillion active databases. It stands out from most software by being in the public domain, allowing unrestricted use.

But there’s more to its story—SQLite operates under a unique Code of Ethics inspired by The Rule of St. Benedict, bringing a refreshing perspective to software development. ✨

Want to uncover more cool facts and dive into SQLite’s fascinating journey? 👉Click here to learn more.

# Community

In our Discord community, an interesting discussion unfolded about preserving function signatures and docstrings when using Python decorators. 🤔 One member shared their challenge of losing these critical details, sparking a deep dive into solutions like functools.wraps, advanced type hints with ParamSpec, and even IDE-specific quirks. 🛠️

Curious about how it turned out or want to join discussions like this? ArjanCodes’ Discord is the place to connect, learn, and grow as a programmer. 🌟


Do you enjoy my content on YouTube and would you like to dive in deeper? Check out my online courses below. They've helped thousands of developers take the next step in their careers.

🚀 The Mindset Online Course Series

The goal of this series is to help junior developers grow their skills to become senior developers faster.

💥 Other Courses

💡 If you’re part of a development team at a company, I offer special packages for companies that give your team the tools to consistently write high-quality code and dramatically increase your team's productivity.

Unsubscribe | Send by ArjanCodes

Wolvenplein 25, Utrecht, UT 3512 CK

The Friday Loop

Every Friday, you'll get a recap of the most important and exciting Python and coding news. The Friday Loop also keeps everyone posted on new ArjanCodes courses and any limited offers coming up.

Read more from The Friday Loop

Hey everyone, I love it when I come up with a design that uses exactly the things I thought were a sign of bad design. In this week's video I show you how to build a clean Python SDK for a REST API. The idea was simple: create a reusable base model that handles all the CRUD operations so you can just write User.find() and user.save(), without duplicating logic all over your codebase. Sounds great, right? Well, after recording the video, I realized something: not all APIs will have all CRUD...

Hey everyone, Python’s flexibility is great, but if you're working on a larger project it becomes hard to make sure not everything depends on everything else. There is a way to avoid that trap, and that's by using abstractions. Unfortunately, I often see production code with way too much coupling that can be easily improved by relying on abstractions. This week’s video shows simple abstractions using Callable, ABC, and Protocol. You’ll learn how to: Reduce unnecessary imports Decouple your...

Hey everyone, I was reviewing some of the projects I’ve worked on over the past year, and I noticed something interesting: I almost never use Python’s @dataclass anymore. Not because it’s bad. In fact, dataclasses are still a great feature of the language. But as my projects have grown more complex, especially with tools like FastAPI, Pydantic, and SQLAlchemy, I’ve found that dataclasses just… don’t fit the way I design software anymore. In my latest video, I dive into this in detail. You’ll...