How to Manage Python Projects With pyproject.toml

The pyproject.toml file simplifies Python project configuration by unifying package setup, managing dependencies, and streamlining builds. In this tutorial, you’ll learn how it can improve your day-to-day Python setup by exploring its key use cases, like configuring your build system, installing packages locally, handling dependencies, and publishing to PyPI. By the end of this tutorial, you’ll understand that: pyproject.toml is a key component for defining a Python project’s build system, specifying requirements and the build backend. Dependencies and optional dependencies […]

Read more

Introducing Muse: Our first generative AI model designed for gameplay ideation

Today, the journal Nature (opens in new tab) is publishing our latest research, which introduces the first World and Human Action Model (WHAM). The WHAM, which we’ve named “Muse,” is a generative AI model of a video game that can generate game visuals, controller actions, or both. The paper in Nature offers a detailed look at Muse, which was developed by the Microsoft Research Game Intelligence (opens  

Read more

Ideas: Quantum computing redefined with Chetan Nayak

CHETAN NAYAK: Thank you. Thanks for having me. And I’m excited to tell you about this stuff. HUIZINGA: Well, you have a huge list of accomplishments, accolades, and awards—little alliteration there. But I want to start by getting to know a bit more about you and what got you there. So specifically, what’s your “research origin story,” as it were? What big idea inspired you to study the smallest parts of the universe? NAYAK: It’s a great question. I think […]

Read more

Concatenating Strings in Python Efficiently

Python string concatenation is a fundamental operation that combines multiple strings into a single string. In Python, you can concatenate strings using the + operator or append them with +=. For more efficient concatenation, especially when working with lists of strings, the .join() method is recommended. Other techniques include using StringIO for large datasets and the print() function for quick screen output. By the end of this video course, you’ll understand that you can: Concatenate strings in Python using the […]

Read more

Python News Roundup: February 2025

The new year has brought a flurry of activity to the Python community. New bugfix releases of Python 3.12 and 3.13 show that the developers seemingly never sleep. A new type of interpreter is slated for the upcoming Python 3.14 as part of ongoing efforts to improve Python’s performance. Poetry takes a giant leap toward compatibilty with other project management tools with the release of version 2. If you’re interested in challenging yourself with some programming puzzles, check out the […]

Read more

Microsoft Research and Physics Wallah team up to enhance AI-based tutoring

In India, limited resources, geographical constraints, and economic factors present barriers to quality education for some students. A shortage of teachers, particularly in remote or low-income areas, makes it harder for students to receive the guidance they need to prepare for highly competitive professional and academic programs. Microsoft Research is developing new algorithms and techniques that are enabling Physics Wallah (opens in new tab), a growing educational company, to make its AI-based tutoring services more accurate and reliable, to better  

Read more

Quiz: Python Keywords: An Introduction

Interactive Quiz ⋅ 6 QuestionsBy Philipp Acsany Share In this quiz, you’ll test your understanding of Python Keywords. Python keywords are reserved words with specific functions and restrictions in the language. These keywords are always available in Python, which means you don’t need to import them. Understanding how to use them correctly is fundamental for building Python programs. The quiz contains 6 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end […]

Read more

Python Keywords: An Introduction

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: Exploring Keywords in Python Python keywords are reserved words with specific functions and restrictions in the language. Currently, Python has thirty-five keywords and four soft keywords. These keywords are always available in Python, which means you don’t need to import them. Understanding how to use them correctly is fundamental for building Python programs. By […]

Read more

ExACT: Improving AI agents’ decision-making via test-time compute scaling

Autonomous AI agents are transforming the way we approach multi-step decision-making processes, streamlining tasks like web browsing, video editing, and file management. By applying advanced machine learning, they automate workflows, optimize performance, and reduce the need for human input.  However, these systems struggle in complex, dynamic environments. A key challenge lies in balancing exploitation, using known strategies for immediate gains, with exploration, which involves  

Read more

Building a Python Command-Line To-Do App With Typer

Building an application to manage your to-do list can be an interesting project when you’re learning a new programming language or trying to take your skills to the next level. In this video course, you’ll build a functional to-do application for the command line using Python and Typer, which is a relatively young library for creating powerful command-line interface (CLI) applications in almost no time. With a project like this, you’ll apply a wide set of core programming skills while […]

Read more
1 20 21 22 23 24 935