Quiz: Interacting With Python

Interactive Quiz ⋅ 8 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of the different ways you can interact with Python. By working through this quiz, you’ll revisit key concepts related to Python interaction in interactive mode using the Read-Eval-Print Loop (REPL), through Python script files, and within Integrated Development Environments (IDEs) and code editors. You’ll also test your knowledge of some other options that may be useful, such as Jupyter Notebooks. The quiz contains 8 questions […]

Read more

Quiz: Expression vs Statement in Python: What’s the Difference?

Interactive Quiz ⋅ 6 QuestionsBy Bartosz Zaczyński Share In this quiz, you’ll test your understanding of Expression vs Statement in Python: What’s the Difference? By working through this quiz, you’ll revisit the key differences between expressions and statements in Python, and how to use them effectively in your code. The quiz contains 6 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

Quiz: Python Dictionary Comprehensions: How and When to Use Them

Interactive Quiz ⋅ 7 QuestionsBy Leodanis Pozo Ramos Share In this quiz, you’ll test your understanding of Python Dictionary Comprehensions: How and When to Use Them. Understanding dictionary comprehensions is crucial for you as a Python developer because they provide a Pythonic tool for dictionary manipulation and can be a valuable addition to your programming toolkit. The quiz contains 7 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the […]

Read more

NumPy Practical Examples: Useful Techniques

The NumPy library is a Python library used for scientific computing. It provides you with a multidimensional array object for storing and analyzing data in a wide variety of ways. In this tutorial, you’ll see examples of some features NumPy provides that aren’t always highlighted in other tutorials. You’ll also get the chance to practice your new skills with various exercises. If you’re new to NumPy, it’s a good idea to familiarize yourself with the basics of data science in […]

Read more

Working With TOML and Python

TOML—Tom’s Obvious Minimal Language—is a reasonably new configuration file format that the Python community has embraced over the last couple of years. TOML plays an essential part in the Python ecosystem. Many of your favorite tools rely on TOML for configuration, and you’ll use pyproject.toml when you build and distribute your own packages. In this video course, you’ll learn more about TOML and how you can use it. In particular, you’ll: Learn and understand the syntax of TOML Use tomli […]

Read more

Ideas: The journey to DNA data storage

[MUSIC FADES] GUEST HOST KARIN STRAUSS: I’m your guest host Karin Strauss, a senior principal research manager at Microsoft. For nearly a decade, my colleagues and I—along with a fantastic and talented group of collaborators from academia and industry—have been working together to help close the data creation–data storage gap. We’re producing far more digital information than we can possibly store. One solution we’ve explored uses synthetic DNA as a medium, and over the years, we’ve contributed to steady and […]

Read more

Interacting With Python

There are multiple ways of interacting with Python, and each can be useful for different scenarios. You can quickly explore functionality in Python’s interactive mode using the built-in Read-Eval-Print Loop (REPL), or you can write larger applications to a script file using an editor or Integrated Development Environment (IDE). In this tutorial, you’ll learn how to: Use Python interactively by typing code directly into the interpreter Execute code contained in a script file from the command line Work within a […]

Read more

Introducing Yasuyuki Matsushita: Tackling societal challenges with AI at Microsoft Research Asia – Tokyo 

Earlier this year, Microsoft Research announced (opens in new tab) its newest lab in Tokyo, Japan. Today, we are celebrating its grand opening, reinforcing Microsoft Research’s commitment to AI research across the Asia-Pacific region. This new lab will focus on embodied AI, well-being and neuroscience, societal AI, and industry innovation—all areas that align with Japan’s socioeconomic priorities. This initiative will enhance collaboration with local academic and industrial partners, contributing to global innovation and talent development.  We recently spoke with Yasuyuki […]

Read more

BiomedParse: A foundation model for smarter, all-in-one biomedical image analysis

In cancer diagnosis or advanced treatments like immunotherapy, every detail in a medical image counts. Radiologists and pathologists rely on these images to track tumors, understand their boundaries, and analyze how they interact with surrounding cells. This work demands pinpoint accuracy across several tasks—identifying whether a tumor is present, locating it precisely, and mapping its contours on complex CT scans or pathology slides.  Yet, these crucial steps—object recognition, detection,  

Read more

Using the Python zip() Function for Parallel Iteration

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: Parallel Iteration With Python’s zip() Function Python’s zip() function combines elements from multiple iterables. Calling zip() generates an iterator that yields tuples, each containing elements from the input iterables. This function is essential for tasks like parallel iteration and dictionary creation, offering an efficient way to handle multiple sequences in Python programming. By the […]

Read more
1 2 3 4 5 6 910