Using Structural Pattern Matching in Python

Structural pattern matching is a powerful control flow construct invented decades ago that’s traditionally used by compiled languages, especially within the functional programming paradigm. Most mainstream programming languages have since adopted some form of pattern matching, which offers concise and readable syntax while promoting a declarative code style. Although Python was late to join the party, it introduced structural pattern matching in the 3.10 release. In this video course, you’ll: Master the syntax of the match statement and case clauses […]

Read more

Quiz: Introducing DuckDB

Interactive Quiz ⋅ 10 QuestionsBy Ian Eyre Share In this quiz, you’ll test your understanding of the techniques discussed in the Introducing DuckDB tutorial. As you work through the questions, you’ll review your knowledge of DuckDB and build on what you learned in the tutorial. To successfully answer all the questions, you’ll need to do some research outside of the tutorial. Embrace this challenge and allow it to enhance your learning journey. The quiz contains 10 questions and there is […]

Read more

Quiz: LangGraph: Build Stateful AI Agents in Python

Interactive Quiz ⋅ 12 QuestionsBy Martin Breuss Share By working through this quiz, you’ll revisit how to build LLM workflows and agents in LangGraph, and how LangGraph expands upon LangChain’s capabilities. The quiz contains 12 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck! Related Resources

Read more

Python’s Instance, Class, and Static Methods Demystified

Watch Now This tutorial has a related video course created by the Real Python team. Watch it together with the written tutorial to deepen your understanding: OOP Method Types in Python: @classmethod vs @staticmethod vs Instance Methods Instance, class, and static methods each serve a distinct role in Python, and knowing when to use one over another is key to writing clean, maintainable code. Instance methods operate on individual objects using self, while class methods use cls to access class-level […]

Read more

Python Textual: Build Beautiful UIs in the Terminal

Have you ever wanted to create an app with an appealing interface that works in the command line? Welcome to Textual, a Python toolkit and framework for creating beautiful, functional text-based user interface (TUI) applications. The Textual library provides a powerful and flexible framework for building TUIs. It offers a variety of features that allow you to create interactive and engaging console applications. In this tutorial, you’ll learn how to create, style, and enhance Textual apps with layouts, events, and […]

Read more

Getting to Know Duck Typing in Python

Python makes extensive use of a type system known as duck typing. This system is based on an object’s behavior and interface. Many built-in classes and tools support this type system, which makes them pretty flexible and decoupled. Duck typing is a core concept in Python. Understanding it will give you deeper insight into how the language works and, more importantly, how to use this approach in your own code. In this video course, you’ll learn: What duck typing is […]

Read more

Python News Roundup: March 2025

Spring isn’t the only thing in the air—new Python releases are here! Last month, Python’s core development team released versions 3.13.2, 3.12.9, and 3.14.0 alpha 5 of the language. The 3.14.0a5 version is the fifth of seven planned alpha releases. You can install this alpha release to try some new and exciting language features. The PyPy project has also released a new version—7.3.19—featuring interpreters for Python 2.7, 3.10, and the newly introduced Python 3.11. There’s also news from the Python […]

Read more

Semantic Telemetry: Understanding how users interact with AI systems

AI tools are proving useful across a range of applications, from helping to drive the new era of business transformation to helping artists craft songs. But which applications are providing the most value to users? We’ll dig into that question in a series of blog posts that introduce the Semantic Telemetry project at Microsoft Research. In this initial post, we will introduce a new data science approach that we will use to analyze topics and task complexity of Copilot in […]

Read more

Quiz: Build an LLM RAG Chatbot With LangChain

Interactive Quiz ⋅ 10 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of building a RAG chatbot using LangChain and Neo4j. You’ll revisit the process of designing a chatbot and working with graph databases. The quiz contains 10 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck! Related Resources

Read more
1 8 9 10 11 12 926