Quiz: Create and Modify PDF Files in Python

Interactive Quiz ⋅ 10 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Creating and Modifying PDF Files in Python. By working through this quiz, you’ll practice reading, extracting, and modifying PDFs using the pypdf library. You’ll also review how to write new PDFs, concatenate and merge files, crop pages, and encrypt or decrypt documents. These skills help you automate PDF workflows and handle documents programmatically in Python. The quiz contains 10 questions and there is no […]

Read more

Quiz: Threading in Python

Interactive Quiz ⋅ 10 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of Threading in Python. By working through this quiz, you’ll revisit how to create and manage threads, use ThreadPoolExecutor, prevent race conditions with locks, and build producer-consumer pipelines with the queue module. You can also review the written tutorial An Intro to Threading in Python for additional details and code examples. The quiz contains 10 questions and there is no time limit. You’ll get 1 […]

Read more

Pydantic AI: Build Type-Safe LLM Agents in Python

Pydantic AI is a Python framework for building LLM agents that return validated, structured outputs using Pydantic models. Instead of parsing raw strings from LLMs, you get type-safe objects with automatic validation. If you’ve used FastAPI or Pydantic before, then you’ll recognize the familiar pattern of defining schemas with type hints and letting the framework handle the type validation for you. By the end of this tutorial, you’ll understand that: Pydantic AI uses BaseModel classes to define structured outputs that […]

Read more

Quiz: Python Descriptors: An Introduction

Interactive Quiz ⋅ 8 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Python Descriptors. By working through this quiz, you’ll revisit the descriptor protocol, how .__get__() and .__set__() control attribute access, and how to implement read only descriptors. You’ll also explore data vs. non-data descriptors, attribute lookup order, and the .__set_name__() method. These exercises help you reason about real descriptor behavior and see when and why to use them in your code. The quiz contains 8 […]

Read more

Working With APIs in Python: Reading Public Data

Python is an excellent choice for working with Application Programming Interfaces (APIs), allowing you to efficiently consume and interact with them. By using the Requests library, you can easily fetch data from APIs that communicate using HTTP, such as REST, SOAP, or GraphQL APIs. This video course covers the essentials of consuming REST APIs with Python, including authentication and handling responses. By the end of this video course, you’ll understand that: An API is an interface that allows different systems […]

Read more

Quiz: Pydantic AI: Build Type-Safe LLM Agents in Python

Interactive Quiz ⋅ 7 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Pydantic AI: Build Type-Safe LLM Agents in Python. You’ll revisit what Pydantic AI is, how to specify a model provider, how to return structured outputs using Pydantic models, how to register and select tools, how dependency injection works, and what trade-offs to expect in production. The quiz contains 7 questions and there is no time limit. You’ll get 1 point for each correct answer. […]

Read more

Quiz: Introduction to Python SQL Libraries

Interactive Quiz ⋅ 9 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Python SQL Libraries. Work through this quiz to connect to databases with Python, interact with SQLite, MySQL, and PostgreSQL, run SQL queries, and write scripts that work across databases. Reinforce your practical skills for building Python apps backed by databases. The quiz contains 9 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the […]

Read more

Python Gains frozendict and Other Python News for March 2026

After years of community requests, Python is finally getting frozendict. The Steering Council accepted PEP 814 in February, bringing an immutable, hashable dictionary as a built-in type in Python 3.15. It’s one of those additions that feels overdue, and the frozenset-to-set analogy makes it immediately intuitive. This is just one piece of a busy month of Python news. Beyond that, February brought security patches, AI SDK updates, and some satisfying infrastructure improvements under Python’s hood. Time to dive into the […]

Read more

Quiz: How to Use Note-Taking to Learn Python

Interactive Quiz ⋅ 6 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of How to Use Note-Taking to Learn Python. By working through this quiz, you’ll revisit how to take structured handwritten notes, define unfamiliar terms, and summarize what you’ve learned with labeled code examples. The quiz contains 6 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 […]

Read more

Quiz: Build Your Weekly Python Study Schedule: 7 Days to Consistent Progress

Interactive Quiz ⋅ 9 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Build Your Weekly Python Study Schedule. By working through this quiz, you’ll revisit how to set specific weekly goals, design a realistic 7-day plan, and use behavioral psychology to make your practice automatic. The quiz contains 9 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
1 2 3 950