Speed Up Python With Concurrency

Concurrency is the act of having your computer do multiple things at the same time. If you’ve heard a lot of talk about asyncio being added to Python but are curious how it compares to other concurrency methods or are wondering what concurrency is and how it might speed up your program, you’ve come to the right place. In this course, you’ll learn the following: How I/O bound programs are effected by latency Which concurrent programming patterns to use What […]

Read more

Quiz: Using Python Optional Arguments When Defining Functions

Interactive Quiz ⋅ 8 QuestionsBy Martin Breuss Share You’ll revisit how Python handles parameters and arguments—from default values and their order to flexible patterns like *args and **kwargs. You’ll also see when a simple Boolean flag can make your function calls clearer and more expressive. In this quiz, you’ll test your understanding of how mutable default argument values can lead to unexpected behavior. You’ll also practice unpacking sequences and mappings in function calls and formatting output with flags. For a […]

Read more

Quiz: What Can I Do With Python?

Interactive Quiz ⋅ 8 QuestionsBy Leodanis Pozo Ramos Share How well do you know the different areas where Python shines? In this quiz, you’ll revisit web apps and APIs, GUI apps, CLI tools, machine learning, and more. You’ll also check what Python isn’t suited for and which alternatives work better. Get ready to explore the wide scope of what you can do with Python. The quiz contains 8 questions and there is no time limit. You’ll get 1 point for […]

Read more

Tell me when: Building agents that can wait, monitor, and act

Modern LLM Agents can debug code, analyze spreadsheets, and book complex travel. Given those capabilities, it’s reasonable to assume that they could handle something simpler: waiting. Ask an agent to monitor your email for a colleague’s response or watch for a price drop over several days, and it will fail. Not because it can’t check email or scrape prices. It can do both. It fails because it doesn’t know when to check. Agents either give up after a few  

Read more

Quiz: Polars vs pandas: What’s the Difference?

Interactive Quiz ⋅ 10 QuestionsBy Ian Eyre Share In this quiz, you’ll test your understanding of the Polars vs pandas: What’s the Difference? tutorial. Most of the answers are somewhere in the tutorial, but you may need to use some of the links to clarify some of the questions. 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 receive a total score. The […]

Read more

Polars vs pandas: What’s the Difference?

Polars and pandas both provide DataFrame-based data analysis in Python, but they differ in syntax, performance, and features. In this tutorial on Polars vs pandas, you’ll compare their method chaining styles, run timed performance tests, explore LazyFrame optimizations in Polars, convert data between the two libraries, and create plots with their built-in tools. You’ll also examine scenarios where each library’s strengths make it the better choice. By the end of this tutorial, you’ll understand that: Polars expressions and contexts let […]

Read more

Python Descriptors

Descriptors are a specific Python feature that power a lot of the magic hidden under the language’s hood. If you’ve ever thought that Python descriptors are an advanced topic with few practical applications, then this video course is the perfect tool to help you understand this powerful feature. You’ll come to understand why Python descriptors are such an interesting topic and discover the kinds of use cases where you can apply them. By the end of this video course, you’ll […]

Read more

Quiz: How to Use Python: Your First Steps

Interactive Quiz ⋅ 8 QuestionsBy Leodanis Pozo Ramos Share Ready to check your foundation in Python? This quiz reviews core beginner topics like variables, keywords, strings, and errors. You’ll also practice commands and tools that help you get started quickly. As you work through the questions, focus on recognizing patterns and understanding why an answer is correct. For a guided introduction, see How to Use Python: Your First Steps. The quiz contains 8 questions and there is no time limit. […]

Read more

How to Use Python: Your First Steps

The Python syntax is clear, concise, and focused on readability. Readability is arguably one of the most appealing features of the language itself. It makes Python ideal for those learning to program. In this section, you’ll learn about several key components of Python syntax: In the following sections, you’ll learn the essentials of Python’s syntax. With this knowledge, you’ll understand the basics of how to use Python to write real programs. Comments Comments are pieces of text that live in […]

Read more
1 2 3 939