COMPLETE No-Nonsense VSCode Setup for Python Devs | Issue #28


Hi there,

Are you wrestling with VSCode and Python? 😩 This week’s video is a deep dive into setting up VSCode for Python development in a way that just makes sense. If you’ve been plagued by missing imports, mismatched Python versions, or pytest failing to find tests, this one’s for you.

I’m sharing a streamlined setup that covers:

  • Configuring Python paths and debugging options for a seamless coding experience.
  • Essential VSCode extensions to make your workflow smooth and frustration-free.
  • Custom settings for autoformatting, testing, and switching environments.

Check out the video, and finally make your VSCode setup work with you, not against you! 💡

Enjoy the video and happy coding!

Cheers,

Arjan

# News

Boost Your Development Process with Squish

Finding it challenging to keep up with frequent releases while ensuring software quality? Today’s sponsor, Squish’s automated UI testing solution, can help you handle complex, cross-platform testing with ease.

Here’s how Squish stands out:

· Seamless integration with CI/CD pipelines.

· Comprehensive support for various platforms like Windows, macOS, mobile, and more.

· Version control for your test automation.

· Reduced test maintenance.

👉 Click here to take a tour to see Squish for yourself.

Python's Magic Methods in Classes

Ever wondered how Python’s built-in behaviors work their magic?🔮

This new Real Python course dives into magic methods—the secret sauce behind Python’s intuitive syntax and special functions.

From __init__ to __str__ to __add__, magic methods allow you to customize how your classes behave, interact, and even play nice with Python’s operators.

Ready to add some magic to your classes? Check out the course here. 🐍

WebStorm and Rider Are Now Free for Non-Commercial Use

Big news from JetBrains! As of October 24, 2024, WebStorm and Rider are free for non-commercial use. 🎉

This is a big shift, as these IDEs are known for their powerful, productivity-boosting features. Whether you’re coding for open-source, learning new skills, or just experimenting, you can now get access to both IDEs at no cost. Get all the details here!

# Community

Ever wondered how to make your Python code cleaner, more readable, and robust? Recently, there was an in-depth discussion on Discord that dives exactly into that! From refining dataclass structures to tips on naming conventions, error handling, and logging, this thread is packed with insights and practical advice to level up your code. 🚀

If you’re aiming for cleaner, more maintainable code, this is a conversation you won’t want to miss. Check out the full thread on Discord for all the details, examples, and recommendations from the community. Join in and bring your own thoughts—there’s always more to learn together! 📈🎯


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

Hi there, Have you ever found yourself writing functions like this? def render_article(article_id, db, logger, user, config, feature_flags, etc): …and then passing the same parameters through five different layers of your app? In my latest video, I walk through a realistic Python example and show how to fix this mess using the Context Object Pattern. I’ll start with the "before" version, refactor step by step, and explore: How to group related dependencies using a context object When this...

Hi there, This week’s video is all about uv workspaces, and why they’ve completely changed the way I manage Python projects. In the video, I walk you through a real-world example: I build a CLI tool and a FastAPI API that both fetch and summarize news headlines using OpenAI. But the real lesson is in how the project is structured. I show you how to share a local package between apps, define common dependencies like openai or httpx only once. And you can manage everything using uv’s workspace...

Hi there, When I see an if-statement with multiple elifs in my code, it almost always triggers an investigation. Is there some way to rewrite this to make the logic simpler? Is there a chance that in the future I'll need to add even more complexity? If so, I'll try to redesign the code so that I don't need that chain of if-elif statements. In this week’s video, I cover a design pattern that helped me eliminate many of those chains from a project + at the same time made the code easier to...