Python tutorials

Quiz: Linked Lists in Python: An Introduction

Interactive Quiz ⋅ 9 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Linked Lists in Python. By working through this quiz, you’ll revisit what linked lists are, when to use collections.deque, how to implement your own linked lists, and the other linked list types and use cases. 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

Downloading Files From URLs With Python

Python makes it straightforward to download files from a URL with its robust set of libraries. For quick tasks, you can use the built-in urllib module or the requests library to fetch and save files. When working with large files, streaming data in chunks can help save memory and improve performance. You can also perform parallel file downloads using ThreadPoolExecutor for multithreading or the aiohttp library for asynchronous tasks. These approaches allow you to handle multiple downloads concurrently, significantly reducing […]

Read more

Quiz: Speed Up Python With Concurrency

Interactive Quiz ⋅ 8 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Speed Up Python With Concurrency. You’ll explore how I/O-bound programs face latency, which concurrency patterns to use, the differences between threading, asyncio, and multiprocessing, and how the Global Interpreter Lock (GIL) affects Python programs. 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 quiz, you’ll receive a total score. […]

Read more

Spyder: Your IDE for Data Science Development in Python

There are many different integrated development environments (IDEs) to choose from for Python development. One popular option for data-focused work is Spyder, an open-source Python IDE geared toward scientists, engineers, and data analysts. Its name comes from Scientific PYthon Development EnviRonment. Out of the box, it has powerful plotting, what-if, and profiling capabilities. It also integrates well with the data science ecosystem, is extensible with first- or third-party plugins, and has a relatively quick learning curve. How does Spyder stack […]

Read more

Quiz: How to Use Ollama to Run Large Language Models Locally

Interactive Quiz ⋅ 6 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of How to Use Ollama to Run Large Language Models Locally. By working through this quiz, you’ll revisit how to install Ollama, pull and manage models, chat with local LLMs from your terminal, and connect them to AI coding tools. Running models locally means your prompts stay private and no API keys or cloud services are needed. See how well you remember the key commands […]

Read more

Quiz: Splitting, Concatenating, and Joining Python Strings

Interactive Quiz ⋅ 10 QuestionsBy Martin Breuss Share How well do you know Python string manipulation? In this quiz, you’ll revisit concepts like string immutability, splitting and joining with different arguments, and building safe string operations for tasks like CSV handling. You’ll get hands-on practice with real examples from the Splitting, Concatenating, and Joining Strings in Python course. Ready to test your skills? The quiz contains 10 questions and there is no time limit. You’ll get 1 point for each […]

Read more

Quiz: Your Python Coding Environment on Windows: Setup Guide

Interactive Quiz ⋅ 11 QuestionsBy Joseph Peart Share Test your understanding of Python Coding Setup on Windows. By working through this quiz, you’ll review the key steps for setting up a Python development environment on Windows. You’ll cover system updates, Windows Terminal, package managers, PowerShell profiles, environment variables, and safe use of remote scripts. You’ll also check practical details like configuring Path, managing Python versions, using version control, and streamlining your workflow. The quiz contains 11 questions and there is […]

Read more

Quiz: Working With Files in Python

Interactive Quiz ⋅ 12 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Working With Files in Python. By working through this quiz, you’ll revisit key techniques for handling files and directories in Python. You’ll practice safely opening files, iterating over directories, and filtering entries to select only files or subdirectories. You’ll also explore creating directories and managing files and directories, including deleting, copying, and renaming them. The quiz contains 12 questions and there is no time […]

Read more

Quiz: Create and Modify PDF Files in Python

Interactive Quiz ⋅ 10 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Creating and Modifying PDF Files in Python. By working through this quiz, you’ll practice reading, extracting, and modifying PDFs using the pypdf library. You’ll also review how to write new PDFs, concatenate and merge files, crop pages, and encrypt or decrypt documents. These skills help you automate PDF workflows and handle documents programmatically in Python. The quiz contains 10 questions and there is no […]

Read more

Quiz: Threading in Python

Interactive Quiz ⋅ 10 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of Threading in Python. By working through this quiz, you’ll revisit how to create and manage threads, use ThreadPoolExecutor, prevent race conditions with locks, and build producer-consumer pipelines with the queue module. You can also review the written tutorial An Intro to Threading in Python for additional details and code examples. The quiz contains 10 questions and there is no time limit. You’ll get 1 […]

Read more
1 2 3 4 214