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:


Duck Typing in Python: Writing Flexible and Decoupled Code

In this tutorial, you'll learn about duck typing in Python. It's a typing system based on objects' behaviors rather than on inheritance. By taking advantage of duck typing, you can create flexible and decoupled sets of Python classes that you can use together or individually:

realpython.com/duck-typing-python


Python Basics Exercises: Installing Packages With pip

In this Python Basics Exercises video course, you'll practice installing packages with pip. You'll also practice creating virtual environments, making lists of requirements, and recreating a development environment:

realpython.com/courses/basics-exercises-install-packages-with-pip


The CTO's Guide to Retrieval-Augmented Generation (RAG)
Sponsored by MindsDB

🚀 Elevate Your Chatbot with RAG! 🤖✨ Discover the magic of Retrieval-Augmented Generation (RAG) - the game-changer for chatbots! 🌐🔍 Boost accuracy, relevance, and security in responses.

Download the CTO's Guide to RAG


Python's Requests Library (Guide)

In this tutorial on Python's Requests library, you'll see some of the most useful features that Requests has to offer as well as ways to customize and optimize those features. You'll learn how to use requests efficiently and stop requests to external services from slowing down your application:

realpython.com/python-requests


The Real Python Podcast – Episode #194: Automate Tasks With Python & Building a Small Search Engine

What are the typical computer tasks you do manually every week? Could you automate those tasks with a Python script? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects:

realpython.com/podcasts/rpp/194


We're Building the Future of Humanity Using Python. No Other Language is Better
Sponsored by Taipy

Today, you can build AI & data applications using only Python! Taipy, the open-source Python end-to-end application builder helps you with this. It's similar to Steamlit but designed to build production-ready apps. Some differences: it scales as more users hit the app, can work with huge datasets, is multi-user, and covers the full software development cycle, from application version management (dev, test, prod), to unique pipeline versioning.

Work Smarter, Not Harder! And Star Our Repo


Quiz: Defining Main Functions in Python

In this quiz, you'll test your understanding of the Python main() function and the special __name__ variable. With this knowledge, you'll be able to understand the best practices for defining main() in Python:

realpython.com/quizzes/python-main-function


Using Data Classes in Python

Data classes are one of the new features introduced in Python 3.7. When using data classes, you don't have to write boilerplate code to get proper initialization, representation, and comparisons for your objects:

realpython.com/courses/python-data-classes


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, February 24, 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: Dependency Management With Python Poetry Learn

🐍 New Python tutorials on Real Python

Monday, February 19, 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: Primer on Python Decorators In this tutorial,

🐍 New Python tutorials on Real Python

Saturday, February 10, 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 January 2024

🐍 New Python tutorials on Real Python

Saturday, February 3, 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 Exceptions: An Introduction In this

[ending now] Real Python's special rate for you

Monday, January 29, 2024

Hey there, Just popping in to remind you that the clock is ticking on your exclusive offer to join Real Python at the original rate— It's your last chance to get all the Python learning goodies at

You Might Also Like

Christmas On Repeat 🎅

Monday, December 23, 2024

Christmas nostalgia is a hell of a drug. Here's a version for your browser. Hunting for the end of the long tail • December 22, 2024 Hey all, Ernie here with a refresh of a piece from our very

SRE Weekly Issue #456

Monday, December 23, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: On-call during the holidays? Spend more time taking in some R&R and less getting paged. Let alerts make their rounds fairly with our

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many