Quiz: Common Python Data Structures (Guide)

Interactive Quiz ⋅ 14 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Common Python Data Structures (Guide). By working through this quiz, you’ll revisit the abstract data types that ship with Python’s standard library and how they map onto Python’s naming scheme. You’ll cover dictionaries and their specialized variants, array-like types, records and data objects, sets and multisets, and the stacks, queues, and priority queues that you can build from them. The quiz contains 14 questions […]

Read more

Learning Path: Exceptions, Logging, and Debugging

Learning Path ⋅ Skills: Python, Exceptions, Logging, Debugging, pdb, raise, Built-in Exceptions, Error Handling In this learning path, you’ll learn how to handle exceptions, log events, and debug your Python code. You’ll start with exception handling using raise and built-in exceptions, then explore Python’s logging module and its source code. Finally, you’ll learn    

Read more

Quiz: Python AI: How to Build a Neural Network & Make Predictions

Interactive Quiz ⋅ 13 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Python AI: How to Build a Neural Network & Make Predictions. By working through this quiz, you’ll revisit how a neural network takes an input vector, transforms it through layers, and adjusts its weights and bias to make better predictions. You’ll also check your grasp of the math that drives training, including the dot product, the sigmoid activation function, mean squared error, and backpropagation. […]

Read more

Quiz: Python 3.15 Preview: UTF-8 by Default

Interactive Quiz ⋅ 8 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Python 3.15 Preview: UTF-8 by Default. By working through this quiz, you’ll revisit where Python’s old default text encoding came from, which operations rely on that default, how to find code that leans on it, how to pass an explicit encoding in your own functions and libraries, and how to restore the locale-based behavior when you really need it. The quiz contains 8 questions […]

Read more

Quiz: Python Project Structure: How to Choose the Right Layout

Interactive Quiz ⋅ 13 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Python Project Structure: How to Choose the Right Layout. By working through this quiz, you’ll revisit how to tell scripts, applications, and libraries apart, weigh the flat layout against the src/ layout, and organize a package with focused modules, a thin entry point, and domain-named subpackages. You’ll also check how those patterns play out in real Django, Flask, FastAPI, and GUI projects. For the […]

Read more

Python 3.15 Preview: UTF-8 by Default

Python 3.15 makes UTF-8 the default text encoding. A plain open(“notes.txt”) call now decodes the same way on every platform, including Windows. Earlier Python versions picked an encoding from your locale, so on Windows the same code that worked on Linux and macOS could produce garbage. By the end of this tutorial, you’ll understand that: Python 3.15 enables UTF-8 as its default text encoding, so text I/O uses it when you omit the encoding argument. The previous encoding default came […]

Read more

Quiz: Automating EDA With fg-data-profiling

Interactive Quiz ⋅ 8 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Automating EDA With fg-data-profiling. By working through this quiz, you’ll revisit how to turn a pandas DataFrame into an interactive exploratory data analysis report, how to read the statistics, correlations, and alerts that the report contains, and how to export it to HTML or view it inline in a Jupyter notebook. You’ll also cover the options that unlock time series analysis, the workflow for […]

Read more

How to Get Started With Ollama

Integrating local large language models (LLMs) into your Python projects with Ollama is a great way to improve privacy, reduce costs, and build offline-capable AI-powered apps. Ollama is an open-source platform that makes it straightforward to run modern LLMs locally on your machine. Once you’ve set up Ollama and pulled the models you want to use, you can connect to them from Python using the ollama library. In this video course, you’ll integrate local LLMs into your Python projects using […]

Read more

Quiz: Async Programming in Python: From Generators to asyncio

Interactive Quiz ⋅ 10 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of Async Programming in Python: From Generators to asyncio. By working through this quiz, you’ll revisit the concepts of synchronous and asynchronous programs, why you might want to write an asynchronous program, and how to use Python async features. 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, you’ll […]

Read more

Async Programming in Python: From Generators to asyncio

When you start learning asynchronous programming, you’ll run into a lot of discussion about blocking and non-blocking code. Those terms stay abstract until you connect them to something familiar. Writing asynchronous programs asks you to think differently about a program’s flow. That shift can be hard to wrap your head around at first, but the real world is almost entirely asynchronous, and so is the way you move through it. Imagine you’re a parent trying to do several things at […]

Read more
1 2 3 1,062