Quiz: Class Concepts: Object-Oriented Programming in Python

Interactive Quiz ⋅ 8 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of Class Concepts: Object-Oriented Programming in Python. By working through this quiz, you’ll revisit how to define classes, use instance and class attributes, write different types of methods, and apply the descriptor protocol through properties. You can also deepen your knowledge with the tutorial Python Classes: The Power of Object-Oriented Programming. The quiz contains 8 questions and there is no time limit. You’ll get 1 […]

Read more

Quiz: How to Add Features to a Python Project With Codex CLI

Interactive Quiz ⋅ 7 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of How to Add Features to a Python Project With Codex CLI. By working through this quiz, you’ll revisit how to install, configure, and use Codex CLI to implement and refine features in a Python project using natural language prompts. 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, […]

Read more

Quiz: Python’s Counter: The Pythonic Way to Count Objects

Interactive Quiz ⋅ 11 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of Python’s Counter: The Pythonic Way to Count Objects. By working through this quiz, you’ll revisit how to create Counter objects, update counts, find most common elements, and use counters as multisets with arithmetic operations. This quiz covers practical Counter tasks such as constructing counters from different data types, accessing counts, and working with multiset operations. If you want a deeper walkthrough, review the tutorial […]

Read more

Timesliced reservoir sampling: a new(?) algorithm for profilers

Imagine you are processing a stream of events, of unknown length. It could end in 3 seconds, it could run for 3 months; you simply don’t know. As a result, storing the whole stream in memory or even on disk is not acceptable, but you still need to extract relevant information. Depending on what information you need, choosing a random sample of the stream will give you almost as good information as storing all the data. For example, consider a […]

Read more

Quiz: Exploring Keywords in Python

Interactive Quiz ⋅ 6 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Exploring Keywords in Python. By working through this quiz, you’ll revisit how to identify Python keywords, understand the difference between regular and soft keywords, categorize keywords by purpose, and avoid common pitfalls with deprecated keywords. 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 […]

Read more

Quiz: Test-Driven Development With pytest

Interactive Quiz ⋅ 8 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Test-Driven Development With pytest. By working through this quiz, you’ll revisit creating and executing Python unit tests with pytest, practicing test-driven development, finding bugs before users, and checking code coverage. Use this quiz to confirm what you learned and spot gaps to review. Return to the video course for hands-on examples and guidance. The quiz contains 8 questions and there is no time limit. […]

Read more

Adding Python to PATH

You may need to add Python to PATH if you’ve installed Python, but typing python on the command line doesn’t seem to work. You might see a message saying that python isn’t recognized, or you might end up running the wrong version of Python. A common fix for these problems is adding Python to the PATH environment variable. In this video course, you’ll learn how to add Python to PATH. You’ll also learn what PATH is and why it’s essential […]

Read more

Quiz: Using Jupyter Notebooks

Interactive Quiz ⋅ 9 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Using Jupyter Notebooks. By working through this quiz, you’ll review Jupyter Notebook basics: running code cells, switching modes, using shortcuts, formatting Markdown, managing the server, and exporting notebooks. Use it to check your workflow knowledge and spot areas to review. 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

How to Use Ollama to Run Large Language Models Locally

Running Ollama in your terminal allows you to start chatting with a local large language model (LLM) quickly. You won’t need API keys, cloud services, or ongoing costs. Ollama is a free, open-source tool that lets you download and run models directly on your machine. By following this guide, you’ll install Ollama, chat with local models from your terminal, and use them to power agentic coding tools: Example of Using Ollama to Run an LLM Locally Large language models traditionally […]

Read more
1 2 3 1,025