Real Python - 🐍 New Python tutorials on Real Python

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:


Write Pythonic and Clean Code With namedtuple

In this quiz, you'll test your understanding of Python's namedtuple() function from the collections module. This function allows you to create immutable sequence types that you can access using descriptive field names and dot notation:

realpython.com/quizzes/python-namedtuple


Build a Blog Using Django, GraphQL, and Vue

In this step-by-step project, you'll build a blog from the ground up. You'll turn your Django blog data models into a GraphQL API and consume it in a Vue application for users to read. You'll end up with an admin site and a user-facing site you can continue to refine for your own use:

realpython.com/python-django-blog


Python Error and Performance Monitoring That Doesn't Suck
Sponsored by Sentry

With Sentry, you can trace issues from the frontend to the backend—detecting slow and broken code, to fix what’s broken faster. Installing the Python SDK is super easy and Real Python Weekly subscribers get three full months of the team plan. Just use the code "realpython" on signup.

Get Sentry for Python


Using raise for Effective Exceptions

In this video course, you'll learn how to raise exceptions in Python, which will improve your ability to efficiently handle errors and exceptional situations in your code. This way, you'll write more reliable, robust, and maintainable code:

realpython.com/courses/using-raise-for-effective-exceptions


How to Format Floats Within F-Strings in Python

In this tutorial, you'll learn how to use Python format specifiers within an f-string to allow you to neatly format a float to your required precision. You'll also learn how to extract digits from existing strings and format them as well:

realpython.com/how-to-python-f-string-format-float


Python's unittest: Writing Unit Tests for Your Code

In this quiz, you'll test your understanding of Python testing with the unittest framework from the standard library. With this knowledge, you'll be able to create basic tests, execute them, and find bugs before your users do:

realpython.com/quizzes/python-unittest


The Real Python Podcast – Episode #201: Decoupling Systems to Get Closer to the Data

What are the benefits of using a decoupled data processing system? How do you write reusable queries for a variety of backend data platforms? This week on the show, Phillip Cloud, the lead maintainer of Ibis, will discuss this portable Python dataframe library:

realpython.com/podcasts/rpp/201


Quiz: Python Name-Main Idiom

Test your knowledge of Python's if __name__ == "__main__" idiom by answering a series of questions! You've probably encountered the name-main idiom and might have even used it in your own scripts. But did you use it correctly?

realpython.com/quizzes/python-name-main-idiom


Working With Python Virtual Environments

This course demonstrates how Python's virtual environments work as a "sandbox" and you get a quick walkthrough on how to set up a new environment (or virtualenv, as they're called for short) and how to install third-party packages into it using the pip command:

realpython.com/courses/working-python-virtual-environments


PyCoder's Weekly – Get the Latest Python News & Updates

Become a better Pythonista and stay up-to-date with your weekly dose of Python news & projects:

 → pycoders.com or click here to get the latest issue via email


A lot of time and effort goes into the Real Python team bringing you new and in-depth Python tutorials every week.

Please do us a solid and share your favorite Real Python content to help us spread the word.

Thanks for your time and for being a dedicated reader!

— Dan Bader (realpython.com)


Level Up With Unlimited Access to 3,500+ Python Tutorials and Video Lessons => Join Real Python

Make the Leap From Beginner to Intermediate => Get Python Basics: A Practical Introduction to Python 3

Python Tips, Interviews, and More =>The Real Python Podcast

Get Help With Your Coding Questions Experts on the RP Team => Real Python Office Hours

Find Your Dream Python Job => Python Job Board

A Peer-to-Peer Learning Community for Python Enthusiasts…Just Like You => PythonistaCafe

Give Your Team the Real-World Python Skills They Need to Succeed => Online Python Training for Teams

Older messages

🐍 New Python tutorials on Real Python

Saturday, April 13, 2024

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: Python News: What's New From March 2024 In

🐍 New Python tutorials on Real Python

Saturday, April 6, 2024

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: Python Deep Learning: PyTorch vs Tensorflow

🐍 New Python tutorials on Real Python

Saturday, March 30, 2024

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: Prompt Engineering: A Practical Example Learn

🚨 winter warm-up giveaway (last call)

Monday, March 25, 2024

Hey there, Our Winter Warm-Up giveaway ends in a few hours. Entering the giveaway is completely free and you can win Python education prizes worth over $2000, including three years of all-access to

🐍 New Python tutorials on Real Python (+ Giveaway!)

Saturday, March 23, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. But first things first— 🔥 Warm Up Your Winter with Real Python's Giveaway 🔥 Don't miss

You Might Also Like

Data Science Weekly - Issue 548

Friday, May 24, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Live Nation + Ticketmaster = monopoly?

Thursday, May 23, 2024

Plus: Canva's enterprise product and fines for robocallers View this email online in your browser By Christine Hall Thursday, May 23, 2024 Hello, and welcome to TechCrunch PM. Among the stories

📱 Issue 412 - Apple needs to explain that bug that resurfaced deleted photos

Thursday, May 23, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 412 Release Date May 23, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 411 - How to read C type declarations (2003)

Thursday, May 23, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 411 Release Date May 23, 2024 Your weekly report of the most popular .NET news, articles and projects

💎 Issue 418 - Five Things to Avoid in Ruby

Thursday, May 23, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 418 Release Date May 23, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 336 - Build your own React state management library in under 40 lines of code - with typescript support

Thursday, May 23, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 336 Release Date May 23, 2024 Your weekly report of the most popular React news, articles and projects

💻 Issue 418 - Create a CRUD App with Prisma ORM & Node Js

Thursday, May 23, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 418 Release Date May 23, 2024 Your weekly report of the most popular Node.js news, articles and

💻 Issue 418 - CVE-2024-4367 – Arbitrary JavaScript execution in PDF.js

Thursday, May 23, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 418 Release Date May 23, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 415 - How Shadow Banning Can Silently Shift Opinion Online

Thursday, May 23, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 415 Release Date May 23, 2024 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 413 - "100 exercises to learn Rust", a new learn-by-doing course to get started with Rust

Thursday, May 23, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 413 Release Date May 23, 2024 Your weekly report of the most popular Rust news, articles and projects