Python tutorials

Quiz: The LEGB Rule & Understanding Python Scope

Interactive Quiz ⋅ 8 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of The LEGB Rule & Understanding Python Scope. By working through this quiz, you’ll revisit how Python resolves names using the LEGB rule, what the local, enclosing, global, and built-in scopes look like in practice, and how the global and nonlocal statements let you reach across scope boundaries. The quiz contains 8 questions and there is no time limit. You’ll get 1 point for each […]

Read more

Quiz: Building Type-Safe LLM Agents With Pydantic AI

Interactive Quiz ⋅ 9 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Building Type-Safe LLM Agents With Pydantic AI. By working through this quiz, you’ll revisit how Pydantic AI returns structured outputs from LLMs, how validation retries improve reliability, how tools and function calling work, how dependency injection flows through RunContext, and what trade-offs to expect when running agents in production. The quiz contains 9 questions and there is no time limit. You’ll get 1 point […]

Read more

Building Type-Safe LLM Agents With Pydantic AI

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 video course, you’ll understand that: Pydantic AI uses BaseModel classes to define structured outputs […]

Read more

Quiz: Memory Management in Python

Interactive Quiz ⋅ 10 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Memory Management in Python. By working through this quiz, you’ll revisit how Python handles memory allocation and freeing, the role of the Global Interpreter Lock, and how CPython organizes memory using arenas, pools, and blocks. Give it a shot! 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, […]

Read more

Quiz: Qt Designer and Python: Build Your GUI Applications Faster

Interactive Quiz ⋅ 10 QuestionsBy Joseph Peart Share In this quiz, you’ll test your knowledge of Qt Designer and Python: Build Your GUI Applications Faster. By working through this quiz, you’ll revisit how Qt Designer turns visual designs into .ui files, how layout managers control widget geometry, how signals and slots connect user actions to your code, and how to load .ui files into a PyQt application with pyuic5 or uic.loadUi(). The quiz contains 10 questions and there is no […]

Read more

Quiz: How to Use OpenCode for AI-Assisted Python Coding

Interactive Quiz ⋅ 9 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of How to Use OpenCode for AI-Assisted Python Coding. By working through these questions, you’ll revisit how to install OpenCode, connect it to an AI provider, configure project context with AGENTS.md, and take advantage of features like mid-session model switching and built-in language servers. If you’d like a broader look at AI-assisted Python development, you can also follow the Python Coding With AI learning path. […]

Read more

Quiz: Python & APIs: A Winning Combo for Reading Public Data

Interactive Quiz ⋅ 12 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Python & APIs: A Winning Combo for Reading Public Data. By working through this quiz, you’ll revisit how APIs send requests and responses, how the requests library works, what status codes and headers mean, and how to handle authentication, pagination, and rate limits in your own code. Good luck! The quiz contains 12 questions and there is no time limit. You’ll get 1 point […]

Read more

Quiz: Python Application Layouts: A Reference

Interactive Quiz ⋅ 9 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Python Application Layouts: A Reference. By working through this quiz, you’ll revisit how to structure one-off scripts, installable packages, larger applications with internal packages, and web projects built with Django or Flask. A dependable starting layout helps you avoid coder’s block so you can focus on writing code instead of figuring out where it should live. The quiz contains 9 questions and there is […]

Read more

Use Codex CLI to Enhance Your Python Projects

After watching this video course, you’ll be able to use Codex CLI to add features to a Python project directly from your terminal. Codex CLI is an AI-powered coding assistant that runs inside your terminal. It understands your project structure, reads your files, and proposes multi-file changes using natural language instructions. Instead of copying code from a browser or relying on an IDE plugin, you’ll use Codex CLI to implement a real feature in a multi-file Python project directly from […]

Read more
1 2 3 221