Python tutorials

Quiz: Data Management With Python, SQLite, and SQLAlchemy

Interactive Quiz ⋅ 11 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of the tutorial Data Management With Python, SQLite, and SQLAlchemy. By working through this quiz, you’ll revisit how Python, SQLite, and SQLAlchemy work together to give your programs reliable data storage. You’ll also check your grasp of primary and foreign keys, SQL operations, and the SQLAlchemy models that let you work with your data as Python objects. The quiz contains 11 questions and there is […]

Read more

A New Python Packaging Council and Other News for May 2026

April gave Python developers a new governing body. PEP 772 was accepted on April 16, creating a dedicated Python Packaging Council that will make binding decisions about packaging standards and tools. After years of informal coordination through the Python Packaging Authority (PyPA), the packaging community now has its own elected five-member council with authority comparable to the Steering Council. On the release side, Python 3.15.0 alpha 8 dropped with a refreshed JIT delivering 6–7 percent speedups on x86-64 Linux and […]

Read more

Quiz: The Factory Method Pattern and Its Implementation in Python

Interactive Quiz ⋅ 10 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of The Factory Method Pattern and Its Implementation in Python. Factory Method is one of the most widely used design patterns, and it’s a powerful tool for separating object creation from object use in your code. By working through this quiz, you’ll revisit the components of the pattern, recognize opportunities to apply it, and see how you can implement a reusable, general-purpose solution in Python. […]

Read more

Quiz: Using Python for Data Analysis

Interactive Quiz ⋅ 12 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Using Python for Data Analysis. By working through this quiz, you’ll revisit the stages of a data analysis workflow, including cleansing raw data with pandas, spotting outliers and typos, and using regression to find relationships between variables. 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 […]

Read more

Quiz: Python 3.13: A Modern REPL

Interactive Quiz ⋅ 7 QuestionsBy Joseph Peart Share Test your knowledge of the redesigned interactive interpreter introduced in Python 3.13: A Modern REPL, including the help system, multiline statement editing, code pasting improvements, and the history browser. Good luck! The quiz contains 7 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

Quiz: ChatterBot: Build a Chatbot With Python

Interactive Quiz ⋅ 8 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of ChatterBot: Build a Chatbot With Python. You’ll revisit how ChatterBot learns from conversation data, how it picks replies based on similarity to what it’s already seen, and how it can pull in a local LLM to round out its responses. The quiz contains 8 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the […]

Read more

AI Coding Agents Guide: A Map of the Four Workflow Types

AI coding agents can read your code, reason about changes, and act on your behalf. To choose the right one, it helps to understand the four common workflow types: integrated development environment (IDE), terminal, pull request (PR), and cloud. Before exploring the four workflow types, it’s worth looking at what makes a coding tool agentic in the first place. Take the Quiz: Test your knowledge with our interactive “AI Coding Agents Guide: A Map of the Four Workflow Types” quiz. […]

Read more

Quiz: Testing Your Code With Python’s unittest

Interactive Quiz ⋅ 9 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Testing Your Code With Python’s unittest. By working through this quiz, you’ll revisit key concepts like structuring tests with TestCase, using assertion methods, skipping tests conditionally, parameterizing with subtests, and preparing test data with fixtures. 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 […]

Read more

Quiz: Use Codex CLI to Enhance Your Python Projects

Interactive Quiz ⋅ 10 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Use Codex CLI to Enhance Your Python Projects. By working through this quiz, you’ll revisit how to install and configure Codex CLI, use Plan mode to review changes before they land, and refine features through iterative prompting in your terminal. 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 […]

Read more

Testing Your Code With Python’s unittest

The Python standard library ships with a testing framework named unittest, which you can use to write automated tests for your code. The unittest package has an object-oriented approach where test cases derive from a base class, which has several useful methods. The framework supports many features that will help you write consistent unit tests for your code. These features include test cases, fixtures, test suites, and test discovery capabilities. In this video course, you’ll learn how to: Write unittest […]

Read more
1 2 3 4 221