Python tutorials

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

Quiz: Python’s __all__: Packages, Modules, and Wildcard Imports

Interactive Quiz ⋅ 9 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Python’s __all__: Packages, Modules, and Wildcard Imports. By working through this quiz, you’ll revisit how wildcard imports work, what role the __all__ variable plays in modules and packages, and how to define a clean public API for your Python code. You’ll need to know the basics of Python modules and packages and the import system to get the most out of this quiz. Good […]

Read more

How to Conceptualize Python Fundamentals for Greater Mastery

Struggling to conceptualize Python fundamentals is a common problem learners face. If you’re unable to put a fundamental concept into perspective and form a clear mental picture of what it’s about, it’ll be difficult to understand and apply it. In this guide, you’ll walk through a framework of steps to help you better conceptualize Python fundamentals. This process is helpful for Python developers and learners at any experience level, but especially for beginners. If you are just starting out, this […]

Read more

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

Interactive Quiz ⋅ 9 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of AI Coding Agents Guide: A Map of the Four Workflow Types. By working through this quiz, you’ll revisit the four common workflow types for AI coding agents: IDE, terminal, pull request, and cloud. You’ll also get a chance to review how to match the right workflow to the task in front of you. The quiz contains 9 questions and there is no time limit. […]

Read more

Quiz: SQLite and SQLAlchemy in Python: Move Your Data Beyond Flat Files

Interactive Quiz ⋅ 8 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of the concepts in the video course SQLite and SQLAlchemy in Python: Move Your Data Beyond Flat Files. 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, SQLAlchemy’s Core and ORM layers, and the many-to-many relationships that tie your data together. The quiz […]

Read more

Altair: Declarative Charts With Python

There’s a moment many data analysts know well: you have a new dataset and a clear question, and you open a notebook only to find yourself writing boilerplate axis and figure setup before you’ve even looked at the data. Matplotlib gives you fine-grained control, but that control comes with a cost. Altair takes a completely different approach to data visualization in Python. Instead of scripting every visual detail, you describe what your data means. This includes specifying which column goes […]

Read more

Quiz: How to Conceptualize Python Fundamentals for Greater Mastery

Interactive Quiz ⋅ 8 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of How to Conceptualize Python Fundamentals for Greater Mastery. By working through this quiz, you’ll revisit a framework for forming a clear mental picture of Python concepts, including defining ideas in your own words, finding real-world and software analogies, comparing similar concepts, and learning by teaching. With this framework in hand, you’ll be better equipped to approach new Python topics with confidence. The quiz contains […]

Read more

Quiz: uv vs pip: Python Packaging and Dependency Management

Interactive Quiz ⋅ 7 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of uv vs pip: Python Packaging and Dependency Management. By working through this quiz, you’ll revisit key differences between uv and pip, including package installation speed, dependency management, reproducible environments, and governance. 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 […]

Read more
1 2 3 219