Quiz: How to Manage Python Projects With pyproject.toml

Interactive Quiz ⋅ 10 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of the pyproject.toml file. This file is a key component for defining a Python project’s build system, including its requirements and build backend. With appropriate tooling, it can also manage dependencies, optional dependencies, command-line scripts, and dynamic metadata for flexible project configuration. The quiz contains 10 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of […]

Read more

Thread Safety in Python: Locks and Other Techniques

Threads share state in your programs, which means race conditions can be created when two or more threads fight to update a value. This course is about the various primitives you can use to ensure atomic access to your program’s shared state. By the end of this video course, you’ll be able to identify safety issues and prevent them by using the synchronization primitives in Python’s threading module to make your code thread-safe. In this video course, you’ll learn: What […]

Read more

Quiz: Managing Python Projects With uv: An All-in-One Solution

Interactive Quiz ⋅ 13 QuestionsBy Martin Breuss Share By working through this quiz, you’ll revisit how Python’s uv integrates multiple functionalities into one tool, offering a comprehensive solution for managing Python projects. You can use it for fast dependency installation, virtual environment management, Python version management, and project initialization, enhancing your productivity and efficiency. The quiz contains 13 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

Managing Python Projects With uv: An All-in-One Solution

The uv tool is a high-speed package and project manager for Python. It’s written in Rust and designed to streamline your workflow. It offers fast dependency installation and integrates various functionalities into a single tool. With uv, you can install and manage multiple Python versions, create virtual environments, efficiently handle project dependencies, reproduce working environments, and even build and publish a project. These capabilities make uv an all-in-one tool for Python project management. By the end of this tutorial, you’ll […]

Read more

Getting Started With Python IDLE

Watch Now This tutorial has a related video course created by the Real Python team. Watch it together with the written tutorial to deepen your understanding: Starting With Python IDLE Python IDLE is the default integrated development environment (IDE) that comes bundled with every Python installation, helping you to start coding right out of the box. In this tutorial, you’ll explore how to interact with Python directly in IDLE, edit and execute Python files, and even customize the environment to […]

Read more

Research Focus: Week of April 21, 2025

In this issue: Catch a preview of our presentations and papers at CHI 2025 and ICLR 2025. We also introduce new research on causal reasoning and LLMs; enhancing LLM jailbreak capabilities to bolster safety and robustness; understanding how people using AI compared to AI-alone, and Distill-MOS, a compact and efficient model that delivers state-of-the-art speech quality assessment. You’ll also find a replay of a podcast discussion on rural healthcare innovation with Senior Vice President of Microsoft Health Jim Weinstein. CONFERENCE

Read more

MySQL Databases and Python

MySQL is one of the most popular database management systems (DBMSs) on the market today. It ranked second only to the Oracle DBMS in this year’s DB-Engines Ranking. As most software applications need to interact with data in some form, programming languages like Python provide tools for storing and accessing these data sources. Using the techniques discussed in this video course, you’ll be able to efficiently integrate a MySQL database with a Python application. You’ll develop a small MySQL database […]

Read more

Quiz: Shallow vs Deep Copying of Python Objects

Interactive Quiz ⋅ 12 QuestionsBy Bartosz Zaczyński Share In this quiz, you’ll test your understanding of Shallow vs Deep Copying of Python Objects. By working through this quiz, you’ll revisit the concepts of shallow and deep copying, and how they affect mutable objects in Python. The quiz contains 12 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 100%. […]

Read more

Shallow vs Deep Copying of Python Objects

Python’s assignment statements don’t copy objects as they do in some other programming languages. Instead, they create bindings between your variable names and objects. For immutable objects, this distinction usually doesn’t matter. However, when you work with mutable objects or containers of mutable items, you may need to create explicit copies or “clones” of these objects. Explore the nuances of copying objects in Python and learn how to apply these techniques to manage mutable data structures effectively. Getting the Big […]

Read more
1 2 3 921