Python tutorials

Quiz: Python Decorators 101

Interactive Quiz ⋅ 8 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Python Decorators 101. Work through this quiz to review first-class functions, inner functions, and decorators, and learn how to create, reuse, and apply them to extend behavior cleanly in Python. 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. The maximum score is […]

Read more

Quiz: How to Add Python to PATH

Interactive Quiz ⋅ 6 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Add Python to PATH. By working through this quiz, you’ll review what the PATH environment variable is, how the shell searches it in order. You’ll also practice adding Python to PATH on Windows, Linux, and macOS, prepending directories with export, refreshing your session with source, and managing unwanted entries so the python command works as expected. The quiz contains 6 questions and there is […]

Read more

Quiz: Exploring Basic Data Types in Python

Interactive Quiz ⋅ 12 QuestionsBy Joseph Peart Share In this quiz, you’ll test your understanding of Python Data Types. By working through this quiz, you’ll revisit basic numeric, string, and Boolean types, how Python represents these objects, and common built-in functions. This quiz helps beginners solidify a foundation for working with Python types and using built-in functions in real programs. Work through the questions to check your skills and identify topics to review. The quiz contains 12 questions and there […]

Read more

Build Your Weekly Python Study Schedule: 7 Days to Consistent Progress

Staying consistent with learning Python can be challenging. This guide helps you create a weekly Python study schedule that you can stick to and shows you how it works in practice. By the end of this guide, you’ll have a practical, personal schedule that fits your life, not the other way around. You’ll walk away with a repeatable 7-day plan and a worksheet you can reuse each week. You’ll know exactly what to study, when to study, and how to […]

Read more

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
1 2 3 213