Real Python - 🐍 New Python tutorials on Real Python

Hey there,

There’s always something going on over at Real Python as far as Python tutorials go.

Here’s what you may have missed this past week:


Quiz: How to Use sorted() and .sort() in Python

In this quiz, you'll test your understanding of sorting in Python using sorted() and .sort(). You'll revisit how to sort various types of data in different data structures, customize the order, and work with two different ways of sorting in Python:

realpython.com/quizzes/python-sort


How to Use sorted() and .sort() in Python

In this tutorial, you'll learn how to sort various types of data in different data structures in Python. You'll explore custom sorting orders and work with two distinct ways of sorting:

realpython.com/python-sort


Postgres, Now with Built-in Warehousing
Sponsored by Crunchy Data

Why manage two databases when one does it all? Crunchy Data Warehouse keeps your transactional database running smoothly while adding warehouse features. Easily query Iceberg, Parquet, and other data lake files in object storage. High performance analytics with columnar compression, vectorized execution, and caching. Scale efficiently with the Postgres you trust, without the complexity.

Get Started Today


Single and Double Underscore Naming Conventions in Python

In this video course, you'll learn a few Python naming conventions involving single and double underscores (_). You'll learn how to use this character to differentiate between public and non-public names in APIs, write safe classes for subclassing purposes, avoid name clashes, and more:

realpython.com/courses/single-double-underscore-naming-conventions


Quiz: How to Work With Polars LazyFrames

This quiz will challenge your knowledge of working with Polars LazyFrames. You won't find all the answers in the tutorial, so you'll need to do some extra investigating. By finding all the answers, you're sure to learn some interesting things along the way:

realpython.com/quizzes/polars-lazyframe


Detect and Localize Anomalies With Intel AI, Powered by OpenVINO
Sponsored by Intel Corporation

Discover Anomalib, a library of ready-to-use algorithms for efficient anomaly detection. Optimized to run locally and open source, it’s designed to help you spot the odd one out.

Get the Code on GitHub


How to Work With Polars LazyFrames

In this tutorial, you'll gain an understanding of the principles behind Polars LazyFrames. You'll also learn why using LazyFrames is often the preferred option over more traditional DataFrames:

realpython.com/polars-lazyframe


Quiz: Python Bytes

In this quiz, you'll test your understanding of Python bytes objects. By working through this quiz, you'll revisit the key concepts related to this low-level data type:

realpython.com/quizzes/python-bytes


Quiz: Python while Loops: Repeating Tasks Conditionally

In this quiz, you'll test your understanding of Python's while loop. This loop allows you to execute a block of code repeatedly as long as a given condition remains true. Understanding how to use while loops effectively is a crucial skill for any Python developer:

realpython.com/quizzes/python-while-loop


The Real Python Podcast – Episode #241: Deciphering Python Jargon & Compiling Python 1.0

How do you learn the terms commonly used when speaking about Python? How is the jargon similar to other programming languages? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects:

realpython.com/podcasts/rpp/241


Improve Your Tests With the Python Mock Object Library

In this course, you'll learn how to use the Python mock object library, unittest.mock, to create and use mock objects to improve your tests. Obstacles like complex logic and unpredictable dependencies make writing valuable tests difficult, but unittest.mock can help you overcome these obstacles:

realpython.com/courses/python-mock-object-library


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

Thursday, February 27, 2025

4Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Python News Roundup: February 2025 2025 looks to

Hack Your Python Roadblocks -- Just 5 Seats Left

Tuesday, January 14, 2025

Hi there, A quick update: after last week's announcement, the Intermediate Python Deep Dive live course is almost full. We're down to just 5 spots left for the February cohort, and once they

🐍 New Python tutorials on Real Python

Saturday, January 11, 2025

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Iterators and Iterables in Python: Run Efficient

The Python skills gap no one talks about

Thursday, January 9, 2025

"I thought I was doing fine until they asked me to review someone else's code..." That's what Jake, a Python developer of 3 years, told me in November. He'd just spent an entire

🐍 New Python tutorials on Real Python

Saturday, January 4, 2025

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Building HTTP APIs With Django REST Framework

You Might Also Like

Daily Coding Problem: Problem #1705 [Medium]

Saturday, March 1, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Yext. Two nodes in a binary tree can be called cousins if they are on the same level of

Charted | The World's Most and Least Powerful Passports 🌎

Saturday, March 1, 2025

Which passports are the most and least powerful in 2025? This graphic ranks them based on Henley & Partners data on visa-free access. View Online | Subscribe | Download Our App Enjoying Visual

Mission Drift 🎒

Saturday, March 1, 2025

Why corporate changes can leave us disappointed. Here's a version for your browser. Hunting for the end of the long tail • March 1, 2025 Mission Drift If a company or service you rely on changes

Second DOT ETF in 3 weeks

Saturday, March 1, 2025

DOOM ran on JAM 🤯, OriginTrail leads in revenue, Polkadot Hub on schedule for Q3, and more ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

This App Is a Productivity Power Tool

Saturday, March 1, 2025

Informant 5 is a complete planner in your pocket. Manage Calendars, Tasks, Projects, and Tags in a single app. This app is one of the few that combines both your calendar AND your tasks into a singe

🕹️ Who the iMac Is For in 2025 — 12 Nintendo Switch Games You Need to Play

Saturday, March 1, 2025

Also: 10 Hybrid Vehicles That Are Much Faster Than You'd Expect How-To Geek Logo March 1, 2025 Did You Know The quirky tiny car driven by the nerdy Steve Urkel in the 1990s sitcom Family Matters is

Mozilla Updates Firefox Terms Again After Backlash Over Broad Data License Language

Saturday, March 1, 2025

THN Daily Updates Newsletter cover Building a Smarter Defense How Gen AI Is Revolutionizing Threat Detection In Cybersecurity Download Now Sponsored LATEST NEWS Mar 1, 2025 Mozilla Updates Firefox

📧 Introduction to Dapr for .NET Developers

Saturday, March 1, 2025

​ Introduction to Dapr for .NET Developers Read on: m​y website / Read time: 10 minutes The .NET Weekly is brought to you by: ​Get every Dometrain Course at 40% off! Dometrain is an educational courses

This Week in Rust #588

Saturday, March 1, 2025

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 588 — 26 FEB 2025 Hello and welcome to another issue of This Week in Rust! Rust is a programming language