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:


Python's unittest: Writing Unit Tests for Your Code

In this tutorial, you'll learn how to use the unittest framework to create unit tests for your Python code. Along the way, you'll also learn how to create test cases, fixtures, test suites, and more:

realpython.com/python-unittest


Working With Global Variables in Python Functions

In this video course, you'll learn how to use global variables in Python functions using the global keyword or the built-in globals() function. You'll also learn a few strategies to avoid relying on global variables because they can lead to code that's difficult to understand, debug, and maintain:

realpython.com/courses/global-variables-in-python-functions


Securing PyPI and Open Source Ecosystems
Sponsored by ActiveState

Concerned about Python security or the open source ecosystem as a whole? Check out this fireside chat featuring Dustin Ingram, Fellow at the Python Software Foundation, as we discuss trust and security for PyPI and other repositories in light of recent attacks, and initiatives such as Trusted Publishing.

Watch the Webinar Recording


Python Sequences: A Comprehensive Guide

This tutorial dives into Python sequences, which is one of the main categories of data types. You'll learn about the properties that make an object a sequence and how to create user-defined sequences:

realpython.com/python-sequences


Quiz: The Python calendar Module

In this quiz, you'll test your understanding of the calendar module in Python. It'll evaluate your proficiency in manipulating, customizing, and displaying calendars directly within your terminal. By working through this quiz, you'll revisit the fundamental functions and methods provided by the calendar module:

realpython.com/quizzes/python-calendar-module


Logging in Python: A Developer’s Guide
Sponsored by Sentry

In this tutorial, you’ll learn how to set up logging in Python using the built-in logging module. You’ll learn the basics of logging, logging variable values and exceptions, configuring custom loggers and formatters, and setting up Sentry's SDK.

Read the Blog


The Real Python Podcast – Episode #203: Embarking on a Relaxed and Friendly Python Coding Journey

Do you get stressed while trying to learn Python? Do you prefer to build small programs or projects as you continue your coding journey? This week on the show, Real Python author Stephen Gruppetta is here to talk about his new book, "The Python Coding Book.":

realpython.com/podcasts/rpp/203


Quiz: Python Strings and Character Data

Test your understanding of Python strings and character data:

realpython.com/quizzes/python-strings


Combining Data in pandas With concat() and merge()

In this video course, you'll learn two techniques for combining data in pandas: merge() and concat(). Combining Series and DataFrame objects in pandas is a powerful way to gain new insights into your data:

realpython.com/courses/data-pandas-concat-and-merge


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 27, 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: Write Unit Tests for Your Python Code With

🐍 New Python tutorials on Real Python

Saturday, April 20, 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: Write Pythonic and Clean Code With namedtuple

🐍 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

You Might Also Like

📧 EF Core Migrations: A Detailed Guide

Saturday, May 18, 2024

​ EF Core Migrations: A Detailed Guide Read on: m​y website / Read time: 10 minutes BROUGHT TO YOU BY ​ Low-code Framework for .NET Devs ​ Introducing Shesha, a brand new, open-source, low-code

Slack is under attack … and you don’t want that

Friday, May 17, 2024

Plus: OpenAI is not aligned with its Superalignment team View this email online in your browser By Christine Hall Friday, May 17, 2024 Good afternoon, and welcome back to TechCrunch PM. We made it to

Ilya Sutskever leaves OpenAI - Weekly News Roundup - Issue #467

Friday, May 17, 2024

Plus: Apple is close to using ChatGPT; Microsoft builds its own LLM; China is sending a humanoid robot to space; lab-grown meat is on shelves but there is a catch; hybrid mouse/rat brains; and more! ͏

SWLW #599: Surfing through trade-offs, How to do hard things, and more.

Friday, May 17, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

💾 There Will Never Be Another Windows XP — Why Ray Tracing is a Big Deal in Gaming

Friday, May 17, 2024

Also: What to Know About Google's Project Astra, and More! How-To Geek Logo May 17, 2024 Did You Know The very first mass-manufactured drinking straw was made of paper coated in wax; the straw was

It's the dawning of the age of AI

Friday, May 17, 2024

Plus: Musk is raging against the machine View this email online in your browser By Haje Jan Kamps Friday, May 17, 2024 Image Credits: Google Welcome to Startups Weekly — Haje's weekly recap of

Daily Coding Problem: Problem #1444 [Medium]

Friday, May 17, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Yahoo. Recall that a full binary tree is one in which each node is either a leaf node,

(Not) Sent From My iPad

Friday, May 17, 2024

The future of computing remains frustrating (Not) Sent From My iPad By MG Siegler • 17 May 2024 View in browser View in browser I tried. I really did. I tried to put together and send this newsletter

iOS Dev Weekly - Issue 661

Friday, May 17, 2024

What's the word on everyone's lips? 🅰️👁️ View on the Web Archives ISSUE 661 May 17th 2024 Comment Did you catch Google I/O this week? It's Always Interesting to see what the Android

Your Google Play recap from I/O 2024

Friday, May 17, 2024

Check out all of our latest updates and announcements Email not displaying correctly? View it online May 2024 Google Play at I/O 2024 Check out the Google Play keynote to discover the latest products