Basic Data Types in Python: A Quick Exploration

Python has several basic data types that are built into the language. With these types, you can represent numeric values, text and binary data, and Boolean values in your code. So, these data types are the basic building blocks of most Python programs and projects. In this tutorial, you’ll learn only the basics of each data type. To learn more about a specific data type, you’ll find useful resources in the corresponding section. Python’s Basic Data Types Python has several […]

Read more

What’s Your Story: Jacki O’Neill

GEHRKE: We just had a discussion maybe a couple of years ago, right, when you were just in transition to Africa. So it’s really great to have you here and both learn a little bit what’s happening there, but also to learn a bit more about your story. Where did you grow up, and how did you end up here at Microsoft? O’NEILL: Yeah, thanks for asking that. I’ve had a very, well, it’s definitely not been a straight road […]

Read more

Research Focus: Week of May 13, 2024

Welcome to Research Focus, a series of blog posts that highlights notable publications, events, code/datasets, new hires and other milestones from across the research community at Microsoft. NEW RESEARCH Injecting New Knowledge into Large Language Models via Supervised Fine-Tuning  Large language models (LLMs) have shown remarkable performance in generating text similar to that created by people, proving to be a valuable asset across various applications. However, adapting these models to incorporate new, out-of-domain knowledge remains a challenge,  

Read more

Quiz: What Are CRUD Operations?

Interactive Quiz ⋅ 6 QuestionsBy Philipp Acsany Share Or copy the link: Copied! Happy Pythoning! In this quiz, you’ll test your understanding of CRUD Operations. By working through this quiz, you’ll revisit the key concepts and techniques related to CRUD operations. Good luck! 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    

Read more

Python’s Built-in Exceptions: A Walkthrough With Examples

Python has a complete set of built-in exceptions that provide a quick and efficient way to handle errors and exceptional situations that may happen in your code. Knowing the most commonly used built-in exceptions is key for you as a Python developer. This knowledge will help you debug code because each exception has a specific meaning that can shed light on your debugging process. You’ll also be able to handle and raise most of the built-in exceptions in your Python […]

Read more

Microsoft at CHI 2024: Innovations in human-centered design

The ways people engage with technology, through its design and functionality, determine its utility and acceptance in everyday use, setting the stage for widespread adoption. When computing tools and services respect the diversity of people’s experiences and abilities, technology is not only functional but also universally accessible. Human-computer interaction (HCI) plays a crucial role in this process, examining how technology integrates into our daily lives and exploring ways digital tools can be shaped to meet individual needs and enhance our […]

Read more

HTML and CSS Foundations for Python Developers

When you want to build websites as a Python programmer, there’s no way around HTML and CSS. Almost every website on the Internet is built with HTML markup to structure the page. To make a website look nice, you can style HTML with CSS. If you’re interested in web development with Python, then knowing HTML and CSS will help you understand web frameworks like Django and Flask better. But even if you’re just getting started with Python, HTML and CSS […]

Read more

RASCAL: Novel robotics for scalable and highly available automated storage and retrieval

This research paper was presented at the 41st IEEE International Conference on Robotics and Automation (opens in new tab) (ICRA 2024), the premier international forum for robotics research. Over the past decade, robotics has revolutionized numerous industries that rely on storage systems, such as manufacturing and warehousing. In these contexts, robotics streamlines operations and increase efficiency, and automated storage and retrieval systems (ASRS) are at the heart of this technological shift,  

Read more

What Is the __pycache__ Folder in Python?

When you develop a self-contained Python script, you might not notice anything unusual about your directory structure. However, as soon as your project becomes more complex, you’ll often decide to extract parts of the functionality into additional modules or packages. That’s when you may start to see a __pycache__ folder appearing out of nowhere next to your source files in seemingly random places: project/ │ ├── mathematics/ │ │ │ ├── __pycache__/ │ │ │ ├── arithmetic/ │ │ ├── […]

Read more

3 Ways of Image Subtraction in Python with NumPy, OpenCV and Pillow Libraries

Introduction In this post, we will see various ways of doing image subtraction in Python by using NumPy, OpenCV, and Pillow libraries. The subtraction of images may sound a bit strange to beginners but images consist of numeric pixels hence we can perform pixel-wise subtraction between two images. Subtraction of Images When one image is subtracted from another it does pixel-wise subtraction where the pixel of the 2nd image is subtracted from the 1st image resulting in a new 3rd […]

Read more
1 2 3 875