Quiz: A Close Look at a FastAPI Example Application

Interactive Quiz ⋅ 10 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of the FastAPI example project that can shuffle lists, pick random items, and generate random numbers. By working through this quiz, you’ll revisit how path parameters and type hints enable automatic validation, how request bodies model data, how async endpoints improve performance, and how CORS allows safe cross-origin requests. To go deeper, read A Close Look at a FastAPI Example Application. You can also review […]

Read more

A Close Look at a FastAPI Example Application

Now that you have a working FastAPI application, it’s time to add some functionality to your API. You’ll add endpoints that demonstrate different FastAPI features while creating a randomizer API. Each endpoint you create will showcase a different aspect of FastAPI, from handling dynamic URLs to processing complex request data. Declare Path and Query Parameters With Types FastAPI’s path parameters allow your API to handle dynamic URLs. For your randomizer API, you’ll create an endpoint that generates random numbers within […]

Read more

Speed Up Python With Concurrency

Concurrency is the act of having your computer do multiple things at the same time. If you’ve heard a lot of talk about asyncio being added to Python but are curious how it compares to other concurrency methods or are wondering what concurrency is and how it might speed up your program, you’ve come to the right place. In this course, you’ll learn the following: How I/O bound programs are effected by latency Which concurrent programming patterns to use What […]

Read more

Quiz: Using Python Optional Arguments When Defining Functions

Interactive Quiz ⋅ 8 QuestionsBy Martin Breuss Share You’ll revisit how Python handles parameters and arguments—from default values and their order to flexible patterns like *args and **kwargs. You’ll also see when a simple Boolean flag can make your function calls clearer and more expressive. In this quiz, you’ll test your understanding of how mutable default argument values can lead to unexpected behavior. You’ll also practice unpacking sequences and mappings in function calls and formatting output with flags. For a […]

Read more

Quiz: What Can I Do With Python?

Interactive Quiz ⋅ 8 QuestionsBy Leodanis Pozo Ramos Share How well do you know the different areas where Python shines? In this quiz, you’ll revisit web apps and APIs, GUI apps, CLI tools, machine learning, and more. You’ll also check what Python isn’t suited for and which alternatives work better. Get ready to explore the wide scope of what you can do with Python. The quiz contains 8 questions and there is no time limit. You’ll get 1 point for […]

Read more

Tell me when: Building agents that can wait, monitor, and act

Modern LLM Agents can debug code, analyze spreadsheets, and book complex travel. Given those capabilities, it’s reasonable to assume that they could handle something simpler: waiting. Ask an agent to monitor your email for a colleague’s response or watch for a price drop over several days, and it will fail. Not because it can’t check email or scrape prices. It can do both. It fails because it doesn’t know when to check. Agents either give up after a few  

Read more

Quiz: Polars vs pandas: What’s the Difference?

Interactive Quiz ⋅ 10 QuestionsBy Ian Eyre Share In this quiz, you’ll test your understanding of the Polars vs pandas: What’s the Difference? tutorial. Most of the answers are somewhere in the tutorial, but you may need to use some of the links to clarify some of the questions. 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 […]

Read more

Polars vs pandas: What’s the Difference?

Polars and pandas both provide DataFrame-based data analysis in Python, but they differ in syntax, performance, and features. In this tutorial on Polars vs pandas, you’ll compare their method chaining styles, run timed performance tests, explore LazyFrame optimizations in Polars, convert data between the two libraries, and create plots with their built-in tools. You’ll also examine scenarios where each library’s strengths make it the better choice. By the end of this tutorial, you’ll understand that: Polars expressions and contexts let […]

Read more

Python Descriptors

Descriptors are a specific Python feature that power a lot of the magic hidden under the language’s hood. If you’ve ever thought that Python descriptors are an advanced topic with few practical applications, then this video course is the perfect tool to help you understand this powerful feature. You’ll come to understand why Python descriptors are such an interesting topic and discover the kinds of use cases where you can apply them. By the end of this video course, you’ll […]

Read more
1 2 3 939