null **PyTorch Stochastic Gradient Optimization Technique** on SitePoint.
#python
144 posts
4 Jun
22 May
Python developers working with Agent Skills can now author skills as files on disk, as inline Python code, or as reusable classes – and mix them freely through composable source classes that handle discovery, filtering, and deduplication. A skill living in your local repository, one installed from your organization’s internal package index, and a quick […] The post Agent Skills…
20 May
Stop prompt injection from hijacking your agent, new security capabilities now released within Agent Framework
Microsoft Semantic KernelPrompt injection is the #1 risk on the OWASP LLM Top 10, and most agents in production today defend against it with one of two heuristics: a defensive system prompt, or a hand-rolled allowlist. Neither is deterministic. Both fail silently the day someone slips a [SYSTEM OVERRIDE] line into an issue body, an email, or […] The post Stop prompt…
14 May
PyCon US 2026 The post PyCon US 2026 appeared first on Microsoft for Python Developers Blog.
8 May
A Tour of the Handoff Orchestration Pattern Most multi-agent systems start out simple: a router agent receives a user request, picks the right specialist, and forwards the conversation. As long as each specialist can complete its task in one pass, that model works fine. The first time it breaks is when an agent needs more: […] The post A Tour…
4 May
Reviewed by Sumit Sarabhai Fetching a million rows from SQL Server into a Polars DataFrame used to mean a million Python objects, a million GC allocations, and then throwing it all away to build a DataFrame. Not anymore. mssql-python now supports fetching SQL Server data directly as Apache Arrow structures – a faster and more […] The post Introducing Apache…
27 Apr
The April 2026 release update includes the Python Environments extension... Keep on reading to learn more! The post Python Environments Extension for VS Code- April Update appeared first on Microsoft for Python Developers Blog.
7 Apr
Reviewed by: Sumit Sarabhai If you’ve been writing SQL in Python, you already know the debate: positional parameters (?) or named parameters (%(name)s)? Some developers swear by the conciseness of positional. Others prefer the clarity of named. With mssql-python, you no longer need to choose – we support both. We’ve added dual parameter style support to mssql-python, enabling both qmark…
2 Apr
The March 2026 release of the Python and Jupyter extensions for Visual Studio Code is now available. Keep on reading to learn more! The post Python in Visual Studio Code – March 2026 Release appeared first on Microsoft for Python Developers Blog.
25 Mar
This tutorial covers how to install PIP on Ubuntu 26.04. PIP is the Python Package Manager used to install and ... Read More The post How to install PIP on Ubuntu 26.04 appeared first on RoseHosting.
4 Mar
Python is a versatile programming language that works on nearly any system architecture, whether for web development or machine learning, ... Read More The post How to Install Python on Ubuntu 26.04 appeared first on RoseHosting.
18 Feb
The February 2026 release This release includes the Python Environments extension... Keep on reading to learn more! The post Python Environments Extension for VS Code appeared first on Microsoft for Python Developers Blog.
13 Nov 2025
The November 2025 release brings new Pylance features including improvements to Copilot Hover Summaries and a Code Action to convert wildcard imports to explicit imports. Keep on reading to learn more! The post Python in Visual Studio Code – November 2025 Release appeared first on Microsoft for Python Developers Blog.
10 Oct 2025
The October 2025 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes improvements to the Python Environments extension, Copy Test ID functionality, and enhanced environment activation when using Copilot Chat. Keep on reading to learn more! The post Python in Visual Studio Code – October 2025 Release appeared first on Microsoft for…
29 Sept 2025
In this tutorial, we will explain how to install Python on the latest stable version of Debian 13. Python is ... Read More The post How to Install Python on Debian 13 appeared first on RoseHosting.
26 Sept 2025
Simplifying Resource Management in mssql-python through Context Manager
Microsoft Python EngineeringReviewed by: Sumit Sarabhai and Gaurav Sharma If you’ve worked with databases in Python, you know the boilerplate: open a connection, create a cursor, run queries, commit or rollback transactions, close cursors and connection. Forgetting just one cleanup step can lead to resource leaks (open connections) or even inconsistent data. That’s where context managers step […] The post Simplifying Resource…
22 Sept 2025
Python has become one of the world’s most popular programming languages. It is a programming language that is quite easy ... Read More The post How to Install Python on AlmaLinux 10 appeared first on RoseHosting.
15 Sept 2025
The September 2025 release includes pipenv support in the Python Environment Extension, a new experimental hover feature with GitHub Copilot and Pylance, and more! The post Python in Visual Studio Code – September 2025 Release appeared first on Microsoft for Python Developers Blog.
9 Sept 2025
Following on from my earlier exploration of JWKS (RFC7517), I found myself needing to convert the JWKS into PEM format. This time I turned to Python with my preference of using uv with inline script metadata and created jwks-to-pem.py. The really nice thing about inline script metadata is that we can use the cryptography package to do all the hard…
19 Aug 2025
An introduction to the new Results Table integrated into the output cell of Notebooks, powered by the VS Code extension called Data Wrangler. The post Announcing the Data Wrangler powered Notebook Results Table appeared first on Microsoft for Python Developers Blog.
12 Aug 2025
Reviewed by Imran Masud and Sumit Sarabhai When it comes to working with Microsoft SQL Server in Python, pyodbc has long been the de facto driver. It’s mature, trusted and has been serving the community well for years. But as applications scale and Python becomes more central to modern data workflows — from microservices to […] The post mssql-python vs…
7 Aug 2025
The August 2025 release includes Python shell integration support for Python 3.13+, Python Environments extension improvements, enhanced terminal suggestions with documentation, and more! The post Python in Visual Studio Code – August 2025 Release appeared first on Microsoft for Python Developers Blog.
14 Jul 2025
After the successful release of Public Preview of mssql-python driver, we’re thrilled to announce a major milestone for the mssql-python driver: full support for all three major operating systems—Windows, macOS, and Linux. This release marks a significant leap forward in our mission to provide seamless, performant, and Pythonic connectivity to Microsoft SQL Server and the […] The post Announcing Full…
11 Jul 2025
The July 2025 release includes TBA and more! The post Python in Visual Studio Code – July 2025 Release appeared first on Microsoft for Python Developers Blog.
16 Jun 2025
The June 2025 release includes Copilot chat tools in the Python extension, project creation from a template, language server based terminal suggest, and more! The post Python in Visual Studio Code – June 2025 Release appeared first on Microsoft for Python Developers Blog.
8 May 2025
The May 2025 release includes updates in the Python Environments extension, a new color picker added by Pylance, branch coverage support, and more! The post Python in Visual Studio Code – May 2025 Release appeared first on Microsoft for Python Developers Blog.
10 Apr 2025
Microsoft at PyTexas 2025: Join Us for a Celebration of Python and Innovation
Microsoft Python EngineeringMicrosoft is thrilled to announce our participation in PyTexas 2025, taking place this year in the vibrant city of Austin, Texas! At this year’s event, Microsoft is proud to contribute to the community’s growth and excitement by hosting a booth and delivering an engaging talk. The post Microsoft at PyTexas 2025: Join Us for a Celebration of Python and Innovation…
5 Apr 2025
Microsoft is holding an AI Agents Hackathon, and we want to see what you can build with Python! We'll have 20+ live streams showing you how to build AI agents with Python using popular agent frameworks and Microsoft technologies. Then, you can submit your project for a chance to win prizes, including a Best in Python prize! The post Build…
4 Apr 2025
The April 2025 release of the Python and Jupyter extensions for Visual Studio Code is now available. This update introduces enhancements to the Copilot experience in Notebooks, improved support for editable installs, faster and more reliable diagnostics, and the addition of custom Node.js arguments with Pylance, and more! The post Python in Visual Studio Code – April 2025 Release appeared…
17 Mar 2025
Data scientists use different Jupyter notebooks every day — ranging from disposable ones for quick tasks to those shareable with clients. Over time, more and more notebooks accumulate, making it increasingly difficult to reuse them in whole or in part. To mitigate this problem and make the most relevant pieces of code quickly accessible to every data scientist, we developed…
12 Mar 2025
We’re thrilled to announce the alpha release of our new open-source Python driver for Microsoft SQL Server and the Azure SQL family, now available on GitHub at mssql-python. The post New Python Driver for SQL Server and Azure SQL! appeared first on Microsoft for Python Developers Blog.
5 Mar 2025
The March 2025 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include improvements to shell integration, a new setting to change auto test discovery file patterns, inline values shown on hover, and more! The post Python in Visual Studio Code – March 2025 Release appeared first on Microsoft for Python Developers…
6 Feb 2025
The February 2025 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include . The post Python in Visual Studio Code – February 2025 Release appeared first on Microsoft for Python Developers Blog.
28 Jan 2025
I create a fair few scripts in my ~/bin/ directory to automate tasks. Since discovering uv and inline script metadata, I've started using Python far more for these. As ~/bin is on my path, I want to run the script by calling it directly on the command line. To do this, I use this shebang: #!/usr/bin/env -S uv run --script…
24 Dec 2024
Thanks to Kyle and Lorna, we've moved rst2pdf's development out of the dark ages of setup.py and into uv with pyproject.toml. As a result, I've changed the way I develop rst2pdf locally; these are my initial notes. Set up Python environment Given a clone of the rst2pdf git repository, do this get going: $ uv sync --all-extras This will create…
11 Dec 2024
The December 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include a special review of docstring generation features from Pylance, the new Python Environments extension in preview, Pylance's "full" language server mode, and much more. Keep reading to learn more! The post Python in Visual Studio Code – December 2024…
9 Dec 2024
As the year comes to a close, we would like to take the time to reflect and celebrate the incredible progress the Python extension for VS Code has made in the past year. From merging in top requested features to countless lines of code written and deleted, keep reading to get an inside look to all things The post 2024…
2 Dec 2024
Experience cloud computing with Python on Azure during Python Day 2024! The post Announcing: Azure Developers – Python Day appeared first on Microsoft for Python Developers Blog.
12 Nov 2024
This is one of those posts that I write so that I can look it up again as this information is all over the Internet, but it took me a little while to find what I was looking for. To accept command line arguments in a Python script, use the argparse package: import argparse You can then instantiate a parser…
5 Nov 2024
Earlier in the year, I wrote about updating Flickr metadata using Python. For this script to work, I needed to install the flickrapi package first. I recently came across PEP 723 – Inline script metadata that makes this much easier for single file scripts like my sync-flickr-dates script. Essentially, we can now put a special comment block at the top…
4 Nov 2024
AI did not write this blog post, but it will make your exploratory data analysis with Data Wrangler better! Today, we’re excited to introduce our first step of integrating the power of Copilot into Data Wrangler. With this first integration of Copilot with Data Wrangler, you’ll be able to: Use natural language to clean and […] The post Announcing GitHub…
1 Nov 2024
The November 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include docstring template generation with Pylance, Fold/Unfold All Docstrings commands, a variable view with the Native REPL and more! The post Python in Visual Studio Code – November 2024 Release appeared first on Microsoft for Python Developers Blog.
22 Oct 2024
I recently installed Python 3.13.0 rc2 to test rst2pdf against it and found that I couldn't install PyMyPDF which is required for the tests. $ pip install pymupdf ... This is because for a pre-release version, binary wheels are not provided to PyPI for the mupdf dependency which is written in C++. Hence, the compiler needs the headers. On my…
10 Oct 2024
We’ve been working to bring components of Quip’s technology into Slack with the canvas feature, while also maintaining the stand-alone Quip product. Quip’s backend, which powers both Quip and canvas, is written in Python. This is the story of a tricky bug we encountered last July and the lessons we learned along the way about…
4 Oct 2024
The October 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include Python test coverage support and a default Python problem matcher. Keep reading to learn more! The post Python in Visual Studio Code – October 2024 Release appeared first on Microsoft for Python Developers Blog.
18 Sept 2024
We’re thrilled to announce the launch of the new Python Data Science Extension Pack for Visual Studio Code! This powerful pack brings together some of the most popular and essential VS Code extensions, making it your one-stop shop for all things data science in Python. What’s Inside? Our extension pack is designed to streamline your data […] The post Announcing…
6 Sept 2024
The September 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include Django test support. Keep reading to learn more! The post Python in Visual Studio Code – September 2024 Release appeared first on Microsoft for Python Developers Blog.
22 Aug 2024
Announcing the General Availability of the VS Code extension for Azure Machine Learning
Microsoft Python EngineeringMachine learning and artificial intelligence are transforming the world as we know it. With the power of data, you will have countless opportunities to create something new, unique, and exciting. Whether you are a seasoned data scientist or a curious beginner, you need a platform that can help you build, train, deploy, and manage your […] The post Announcing the…
31 Jul 2024
The August 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include improved Python discovery using python environment tools, inline variable values with the python debugger, and improvements to the VS Code native REPL. Keep reading to learn more! The post Python in Visual Studio Code – August 2024 Release appeared…
9 Jul 2024
The July 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include a new tool for more performant environment discovery, improved support for reStructuredText docstrings, and community contributed Pixi support. Keep reading to learn more! The post Python in Visual Studio Code – July 2024 Release appeared first on Microsoft for…
6 Jun 2024
The June 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include an experimental Python REPL with Intellisense and syntax highlighting, and pytest improvements on the testing rewrite. Keep reading to learn more! The post Python in Visual Studio Code – June 2024 Release appeared first on Microsoft for Python Developers…
7 May 2024
Announcing Data Wrangler: Code-centric viewing and cleaning of tabular data in Visual Studio Code
Microsoft Python EngineeringToday, we are excited to announce the general availability of the Data Wrangler extension for Visual Studio Code! Data Wrangler is a free extension that offers data viewing and cleaning that is directly integrated into VS Code and the Jupyter extension. It provides a rich user interface to view and analyze your data, show insightful […] The post Announcing Data…
3 May 2024
The May 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include a new Pylance code action and setting, removal of debugpy from the Python extension, socket disablement for testing scenarios, and Pylance performance updates. Keep reading to learn more! The post Python in Visual Studio Code – May 2024 Release…
16 Apr 2024
Glow up! A new look for Python Reference documentation on Microsoft Learn
Microsoft Python EngineeringWe have a new look for our Python library reference on Microsoft Learn! Learn more about the details in this article. The post Glow up! A new look for Python Reference documentation on Microsoft Learn appeared first on Microsoft for Python Developers Blog.
4 Apr 2024
The April 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include an improved debug config flow for Django and Flask, module and import analysis for Run Dependent Cells, Hatch environment discovery, automatic environment selection for popular tools, and Report Issue command improvements. Keep reading to learn more! The post Python…
11 Mar 2024
Python Data Science Day is a full day of 25 min and 5 min community contributed content March 14th, 2024 streaming on the VS Code YouTube channel. The post Data Science Day 2024 – Schedule Announcement appeared first on Microsoft for Python Developers Blog.
28 Feb 2024
The March 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include new add import Code Actions from Pylance, improvements for developing and testing web apps, shell integration in the Python REPL, and improved language support for local Jupyter servers. Keep reading to learn more! The post Python in Visual Studio…
1 Feb 2024
The February 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include the Python Debugger extension installed by default, option to create a virtual environment in the interpreter Quick Pick, built-in variable viewer with Jupyter, new diagnostic rules with Pylance, and triggered breakpoints in VS Code. Keep reading to learn more!…
17 Jan 2024
The Microsoft AI Chat App Hack is a two-week virtual hackathon where you can learn how to build a chat app with Python, using the RAG (Retrieval Augmented Generation) approach with OpenAI and Azure AI Search. You’ll also get to meet other Python developers and learn from Microsoft engineers on live streams. The post Join us for AI Chat App…
13 Jan 2024
Python Data Science Day is a full day of 25 min and 5 min community contributed content March 14th, 2024 streaming on the VS Code YouTube channel. Submission deadline is January 25th AOE (Anywhere on Earth). The post Data Science Day Announcement and Call for Speaker Proposals appeared first on Microsoft for Python Developers Blog.
9 Jan 2024
I usually use my rodeo app to upload photos to Flickr, but for various reasons, I recently uploaded some photos directly via Flickr itself. One feature of rodeo that I really like is that it sets the date posted to be the same as date taken which means that they are ordered correctly in my photo stream. As this doesn't…
7 Dec 2023
The December 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include debug configurations add to the Run button menu, show type hierarchy with Pylance, deactivate support for auto-activated terminals, and additional REPL improvements. Keep reading to learn more! The post Python in Visual Studio Code – December 2023 Release appeared…
6 Dec 2023
Python Linting in Visual Studio Code – Hinting and Linting Video Series
Microsoft Python EngineeringPower user settings when enabling your Python linter in VS Code. The goal is for your developer experience to be intuitive, replicable, and shareable. The post Python Linting in Visual Studio Code – Hinting and Linting Video Series appeared first on Microsoft for Python Developers Blog.
2 Nov 2023
The November 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include improvements to Shift+Enter when sending code to the terminal, deprecation of linting and formatting features, improvements to Python linting extensions, reconfiguration of test output, and virtual environment deactivation help. Keep reading to learn more! The post Python in Visual…
6 Oct 2023
The October 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include Python debugger extension updates, deprecation of Python 3.7 support, and a recap of Open Source Day. Keep reading to learn more! The post Python in Visual Studio Code – October 2023 Release appeared first on Microsoft for Python Developers…
8 Sept 2023
The September 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include updates to the Create Environment command, a new terminal auto-activation experiment, and a new yapf extension. Keep reading to learn more! The post Python in Visual Studio Code – September 2023 Release appeared first on Microsoft for Python Developers…
5 Sept 2023
Experience cloud computing with Python on Azure during Python Day 2023! The post Announcing: Azure Developers – Python Day appeared first on Microsoft for Python Developers Blog.
3 Aug 2023
The August 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include a pre-configured dev container for the Python extension, a new debug configuration, an npm package for the Python extension API, and error-tolerant pytest discovery with the testing rewrite. Keep reading to learn more! The post Python in Visual Studio…
13 Jul 2023
The Python extension in VS Code is investigating ways to improve our package management support and have completed a comparison of support offered by various package management tools. The post Package Management in the Python extension for Visual Studio Code appeared first on Microsoft for Python Developers Blog.
7 Jul 2023
The July 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include an announcement on Python 3.7 support, a new Mypy extension in preview, a Debugpy extension in preview, Pylance localization, and index persistance for 3rd-party libraries with Pylance. Keep reading to learn more! The post Python in Visual Studio Code…
9 Jun 2023
The June 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes a test discovery and execution rewrite, an option to run your Python file in a dedicated terminal, a preview of IntelliSense on overloaded operators, and configurable index limits with Pylance. Keep reading to learn more! The post Python in Visual…
4 May 2023
The May 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. In this release, Jupyter is no longer installed alongside the Python extension, microvenv support was added for the Create Environment command, new automatic conversion of f-strings, and code navigation on strings that contain module names. Keep reading to learn more! The post Python…
31 Mar 2023
The April 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes Data Wrangler, a create environment button embedded in dependency files, environments API for extension authors, kernel picker improvements, and move symbol refactoring. Keep reading to learn more! The post Python in Visual Studio Code – April 2023 Release appeared first…
17 Mar 2023
Microsoft announces the launch of Data Wrangler, a data-centric user interface that generates Python code to help data scientists complete their data preparation tasks faster and with fewer errors. The post Introducing the Data Wrangler extension for Visual Studio Code appeared first on Microsoft for Python Developers Blog.
2 Mar 2023
The March 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes "back" and "cancel" support for the "Create Environment" command, isort no longer being shipped by default with the Python extension, improvements to the kernel picker experience in Jupyter, and the Python for VS Code team as guests on the Python…
3 Feb 2023
The February 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes automatic environment selection, improvements to the Create Environment command, improved Intellisense support for pytest in preview, and improvements to the Jupyter kernel picker. Keep reading to learn more! The post Python in Visual Studio Code – February 2023 Release appeared…
10 Jan 2023
We're excited to announce a new livestream, brought to you by the Microsoft Community Team. Need updates on the latest and greatest Microsoft releases for Python? We got you. Each stream we start with a run down of the latest news in Microsoft Cloud, VS Code and Python tech ecosystem, then we deep dive into special segments with an esteemed…
8 Dec 2022
The December 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes auto indentation with Pylance, a preview of Python in the browser and a community highlight. Keep on reading to learn more! The post Python in Visual Studio Code – December 2022 Release appeared first on Microsoft for Python Developers Blog.
3 Nov 2022
The November 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes automatic installation of the isort extension, auto imports turned off by default with Pylance, "just my code" cell debugging in Jupyter and more! The post Python in Visual Studio Code – November 2022 Release appeared first on Microsoft for Python…
26 Oct 2022
Python 3.11 brings the specialized adaptive interpreter, the starting point of a large plan to make Python much faster. At Microsoft, we have a full-time team dedicated to this project. The post A Team at Microsoft is Helping Make Python Faster appeared first on Microsoft for Python Developers Blog.
6 Oct 2022
The October 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes .... Keep on reading to learn more! The post Python in Visual Studio Code – October 2022 Release appeared first on Microsoft for Python Developers Blog.
4 Oct 2022
Contribute to Open Source with the Pythonistas at Microsoft – Hacktoberfest 2022
Microsoft Python EngineeringPythonistas at Microsoft are participating in Hacktoberfest 2022. We've gotten together to share with you tips and tricks for contributing, how we got into Open Source and the projects we have our eye on. Join us for our Twitch Stream October 10th, 2022 2PM PT on the Microsoft Developer Channel. The post Contribute to Open Source with the Pythonistas at…
21 Sept 2022
How I learned to manipulate JSON data with Pandas on a Jupyter Notebook and deconstruct it to a DataFrame ready for queries. Image by author created from Jupiter photo by NASA and Pandas photo by Pascal Müller on Unsplash A bit of context first I started a self-study path to learn the theoretical fundamentals of Data Science and Machine Learning.…
1 Sept 2022
The September 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes improved IntelliSense support for Jupyter Notebooks, a new Flake8 extension and internship highlights. Keep on reading to learn more! The post Python in Visual Studio Code – September 2022 Release appeared first on Microsoft for Python Developers Blog.
4 Aug 2022
We’re excited to announce that the August 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available! This release includes the following improvements: Automatic debug configurations for web apps Improvements to the Getting Started Experience Setting to configure the display of the interpreter information on the status bar A new […] The post Python in…
11 Jul 2022
We’re thrilled to be a Platinum Sponsor of EuroPython this year, happening from July 11th-17th in Dublin, Ireland. If you can’t make it in person, you can still attend the conference remotely, as EuroPython is a hybrid event this year! Our team members will be giving a variety of talks during the conference: July 13th […] The post Microsoft at…
7 Jul 2022
We’re excited to announce that the July 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes inlay type hints with Pylance and improvements to the setup experience with Jupyter notebooks. If you’re interested, you can check the full list of improvements in our changelogs for the […] The post Python in…
9 Jun 2022
We’re excited to announce that the June 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes improvements to: Localization support Python interpreter discovery Jupyter extension support on vscode.dev/github.dev Insiders program for Pylance If you’re interested, you can check the full list of improvements in our changelogs […] The post Python in…
5 May 2022
We’re excited to announce that the May 2022 release of the Python and Jupyter Extensions for Visual Studio Code are now available! With this release we’re introducing three new extensions: Black, isort, and Jupyter Powertoys. If you’re interested, you can check the full list of improvements in our changelogs for the Python, Jupyter and Pylance […] The post Python in…
30 Mar 2022
The April 2022 release of the Python Extension for Visual Studio Code is now available. In this release we’re introducing a Pylint extension, a simpler way to create empty Python and Jupyter Notebook files, fixes for running and debugging files with conda environment and moving the interpreter display in the status bar to the right. The post Python in Visual…
4 Mar 2022
The March 2022 release of the Python Extension for Visual Studio Code is now available and it includes support for pre-release versions and changes to the interpreter selector on the status bar. The post Python in Visual Studio Code – March 2022 Release appeared first on Microsoft for Python Developers Blog.
3 Feb 2022
We are happy to announce that the February 2022 release of the Python Extension for Visual Studio Code is now available! This release includes smart selection, better folding support, improvements to the Python interpreters list and when using Anaconda. Keep on reading to learn more! The post Python in Visual Studio Code – February 2022 Release appeared first on Microsoft…
9 Dec 2021
We are happy to announce that the December 2021 release of the Python Extension for VS Code is now available. This announcement includes a new refactoring option via Pylance, rich editing support for virtual or untrusted workspaces, an update regarding debugging with Python 2.7 and a community highlight: a Python package manager extension. The post Python in Visual Studio Code…
7 Dec 2021
Starting from the release date of Visual Studio 2022, we are changing how we include Python runtime installation options in Visual Studio to better reflect differences in the lifetimes of Python versions and Visual Studio. The post Changes to How We Bundle Python in Visual Studio appeared first on Microsoft for Python Developers Blog.
4 Nov 2021
We are pleased to announce that the November 2021 release of the Python Extension for Visual Studio Code is now available. As part of this release, the Microsoft Python Language Server has reached end of life. The post Python in Visual Studio Code – November 2021 Release appeared first on Microsoft for Python Developers Blog.
25 Oct 2021
Our friends at Anaconda have posted a joint announcement last week regarding the use of their repository from Microsoft cloud-hosted products. See the full announcement on their website. Today, Anaconda, Inc. announced a collaboration with Microsoft to enable customers to confidently access Anaconda’s curated library of open-source packages within Microsoft Cloud-hosted products and services, including […] The post Anaconda licensing…
7 Oct 2021
We are pleased to announce that the October 2021 release of the Python Extension for Visual Studio Code is now available. This release introduces debugging support for Jupyter Notebooks, our new Python walkthrough and an improvement to the debugging experience for Python files and projects. The post Python in Visual Studio Code – October 2021 Release appeared first on Microsoft…
2 Sept 2021
We're excited to announce that the September 2021 release of the Python extension is here! We now have a rich Python editing experience in the browser with Pylance, a revamped testing interface, a new button for running and debugging files on the editor and more! The post Python in Visual Studio Code – September 2021 Release appeared first on Microsoft…
19 Aug 2021
Out with the Old and In with the New: an Enhanced Jupyter Experience in DevOps
Microsoft Python EngineeringThis post was co-authored by Michael Duncan, Azure Notebooks Software Engineer and Dinesh Chandnani, Azure Notebooks Principal Group Engineering Manager Say hello to our newly revamped extension in Azure DevOps! The latest extension allows you to render your .ipynb notebook files directly in Azure DevOps now with an improved viewing experience. In addition to a […] The post Out with…
11 Aug 2021
Eleanor Boyd, 2021 Summer Intern for Python Tools for VS Code, shares her learnings about her exploration on Pyodide during her internship project. Keep on reading to learn more! The post Feasibility, Use Cases, and Limitations of Pyodide appeared first on Microsoft for Python Developers Blog.
6 Aug 2021
In this release we’re excited to announce a revamped Jupyter notebooks experience, as well as our new and improved way of sorting Python interpreters on the selection list. Keep on reading to learn more! The post Python in Visual Studio Code – August 2021 Release appeared first on Microsoft for Python Developers Blog.
20 Jul 2021
We're excited to announce the July 2021 release of the Python extension for VS Code! This release includes a faster way to configure project roots via a new Pylance quick fix, two new debugger features and Python interpreter settings changes. Keep on reading to learn more! The post Python in Visual Studio Code – July 2021 Release appeared first on…
22 Jun 2021
The boto3 Python SDK allows intercepting requests before they are sent to AWS through an event handler system. This article shows how to use it to gzip the payload of PutMetricData requests sent to CloudWatch.
17 Jun 2021
We are pleased to announce that the June 2021 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the Extensions View in Visual Studio Code. If you already have the Python extension installed, you can also get the latest […] The post Python…
14 Jun 2021
We are pleased to announce that the June 2021 release of the Jupyter Extension for Visual Studio Code is now available. If you are working with Python, we recommend downloading the Python extension from the Marketplace, or installing it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, […] The post Jupyter…
13 May 2021
We’re excited to announce that Pylance, our fast and feature-rich language support for Python in Visual Studio Code, is now officially out of preview and has reached its first stable release. Keep reading to learn more! The post The Pylance language server has reached stable! appeared first on Microsoft for Python Developers Blog.
10 May 2021
We’re thrilled to announce that the May 2021 release of the Python extension is here and it brings Pylance as the new default language server for Python, faster extension startup times and code reload when debugging Python scripts. Keep on reading to learn more! The post Python in Visual Studio Code – May 2021 Release appeared first on Microsoft for…
7 May 2021
Next week our team will join remotely the PyCon US 2021 Conference, and we are looking forward to meeting you! Join us at our workshop and live demos, and stop by our virtual booth at Hubilo. You can also join us at our Microsoft Discord Server to participate on our virtual labs – you may even get some swag! The…
29 Apr 2021
We are excited to announce that this year we have increased our sponsorship of the Python Software Foundation to the new top visionary level. We wanted to take this opportunity to share why Python is so dear to our hearts and the ways we contribute to the Python community. The post Our support for the Python community appeared first on…
22 Apr 2021
We are happy to announce that Pyodide has become an independent and community-driven project. We are also pleased to announce the 0.17 release for Pyodide with many new features and improvements. Pyodide consists of the CPython 3.8 interpreter compiled to WebAssembly which allows Python to run in the browser. The post Pyodide Spin Out and 0.17 Release appeared first on…
20 Apr 2021
We are thrilled to announce that the April 2021 release of the Python Extension for Visual Studio Code is here! This release includes a preview of support for Poetry environments, improved completions for PyTorch 1.8.1 when using Pylance, as well enhancements to the Data Viewer. Keep on reading to learn more! The post Python in Visual Studio Code – April…
31 Mar 2021
We are pleased to announce that the April 2021 release of the Jupyter Extension for Visual Studio Code is now available. If working with Python, we recommend installing the Python extension directly from the extension gallery in Visual Studio Code. If you already have the Python or Jupyter extensions installed, you can also get the latest update by restarting Visual…
16 Mar 2021
We are pleased to announce that the March 2021 release of the Python Extension for Visual Studio Code is now available. This release largely focused on bug fixes and stabilization work in our Python, Pylance and Jupyter extensions, and includes a preview of improved Jedi language server support for our Python Insiders. The post Python in Visual Studio Code –…
18 Feb 2021
We are happy to announce that the February 2021 release of the Python Extension for Visual Studio Code is now available. This release includes TensorBoard integration, and improvements on docstring readability and code navigation with Pylance. Keep reading to learn more! The post Python in Visual Studio Code – February 2021 Release appeared first on Microsoft for Python Developers Blog.
22 Jan 2021
We are pleased to announce that the January 2021 release of the Python Extension for Visual Studio Code is now available. This was a short release where we closed a total of 13 issues, and it includes a data viewer when debugging and PYTHONPATH support with Pylance. The post Python in Visual Studio Code – January 2021 Release appeared first…
15 Dec 2020
We are happy to announce that the December 2020 release of the Python Extension for Visual Studio Code is now available. This release includes code actions for method and variable extraction with Pylance, the Pylance insiders program and Ipywidgets support in Native Notebooks. Keep on reading to learn more! The post Python in Visual Studio Code – December 2020 Release…
25 Nov 2020
This fall I took the course Mathematical Modelling of Football from Uppsala University. It was taught by Professor David Sumpter, and I believe this is the first academic course of its kind. The main subjects covered are modelling and analysis … Continue reading →
12 Nov 2020
We are pleased to announce that the November 2020 release of the Python Extension for Visual Studio Code is now available. In this release we’re introducing the Jupyter extension, which the Python extension now takes a dependency on. The post Python in Visual Studio Code – November 2020 Release appeared first on Microsoft for Python Developers Blog.
11 Nov 2020
We’re excited to announce that we’re releasing the new Jupyter extension for Visual Studio Code today! The Jupyter extension is the latest step in our journey to bring the power of Jupyter Notebook into VS Code for a variety of languages and scenarios. Jupyter Notebook enables creating and sharing documents that contain live code, equations, […] The post Introducing the…
28 Oct 2020
The October 2020 release of the Python Extension for Visual Studio Code is now available. This was a short release where we addressed 14 issues, and it includes debugpy 1.0! Keep on reading to learn more. The post Python in Visual Studio Code – October 2020 Release appeared first on Microsoft for Python Developers Blog.
9 Oct 2020
The Monaco Editor is the popular code editor that powers VS Code, bringing you features like IntelliSense, theming, and simple refactoring. The Python team has partnered with the nteract community to bring these powerful editing features to your nteract notebook. The post Bringing the power of the Monaco Editor to nteract appeared first on Microsoft for Python Developers Blog.
30 Sept 2020
Announcing Playwright for Python: Reliable end-to-end testing for the web
Microsoft Python EngineeringAutomated end-to-end tests are a powerful tool for your team to ship faster and with more confidence. End-to-end tests automate UI interactions and can validate the functionality of your apps. To this end, we are announcing Playwright for Python in preview today. Playwright enables developers and testers to write reliable end-to-end tests. The post Announcing Playwright for Python: Reliable end-to-end…
23 Sept 2020
We are happy to announce that the September 2020 release of the Python Extension for Visual Studio Code is here! This was a short release where we addressed total of 34 issues, and it includes support for colorization and auto import improvements with Pylance. Keep on reading to learn more! The post Python in Visual Studio Code – September 2020…
14 Sept 2020
Pylance introduces five new features that enable type magic for Python developers
Microsoft Python EngineeringIn last week’s Pylance update we introduced Semantic colorization, and thank you for all feedback! It was exciting for the team to bring this new feature to you. With the latest release of Pylance (version 2020.9.4) we are excited to introduce features that bring us closer to the goal of helping developers write correct Python […] The post Pylance introduces…
27 Aug 2020
The explosion of devices in the IoT space is more than a little overwhelming. Where do you start? Why choose hardware when you can experiment entirely in software? That’s the power of the Device Simulator Express (DSE). Keep on reading to learn how you can start experimenting with programming Python on IoT devices without buying anything! The post IoT exploration…
13 Aug 2020
We are happy to announce that the August 2020 release of the Python Extension for Visual Studio Code is now available. In this release we addressed 38 issues, and it includes support for multiple Python interactive windows, Pylance as an officially supported language server setting value and smart signature help with Pylance. The post Python in Visual Studio Code –…
7 Aug 2020
We have been spoiled to have Tim Ruscica, founder and star of the very informative and popular “Tech with Tim” YouTube channel, work on our team as a Software Engineering intern this summer! During his time here he implemented several features for our extension, including the much desired export notebook to HTML and PDF, as well […] The post Need…
27 Jul 2020
Notebooks in VS Code are getting revamped! This experience is currently being exclusively rolled out to VS Code Insiders so be sure to download today to try it out! The post Notebooks are getting revamped! appeared first on Microsoft for Python Developers Blog.
23 Jul 2020
We are pleased to announce the release of our new experimental extension, Gather! Gather is a notebook cleaning tool that analyzes and determines the necessary code dependencies within a notebook and performs code cleanup, automating this difficult and time-consuming task. The post Gather: A New Way To Clean Notebooks appeared first on Microsoft for Python Developers Blog.
17 Jul 2020
We are pleased to announce that the July 2020 release of the Python Extension for Visual Studio Code is now available. In this release we addressed 51 issues, and it includes support for our new language server Pylance and new experimental extension Gather. Keep on reading to learn more! The post Python in Visual Studio Code – July 2020 Release…
8 Oct 2018
In Ruby, objects have a handy method called method_missing which allows one to handle method calls for methods that have not been defined. Most examples out there explain how to implement this in Python using __getattr__, however, none of them (honestly, none) explain how to intercept class method (@classmethod) invocations using __metaclass__. And this is […]
13 Mar 2018
In the book club at work, we recently finished reading Exercises in Programming Style by Cristina Videira Lopes. The book consists of a simple program implemented in 33 different programming styles. It is a great way of showing the different … Continue reading →
17 Dec 2017
For the past two months, I have been helping my son’s grade 8 class to learn to program. All students wrote Python programs and got a feel for what programming is. This post has details on how we organized the … Continue reading →
2 Jun 2017
We have already published how to generate mock data with the help of a Python library — Mimesis . The article you are reading now is the continuation of the previous one, therefore, we will not be going over the basics again. In case you missed out on the first article or you felt lazy at the time, you might…
24 May 2017
The ability to generate mock but valid data comes in handy in app development, where you need to work with databases. Filling in the database by hand is a time-consuming and tedious process, which can be done in three stages — gathering necessary information, post-processing the data and coding the data generator itself. It gets really complicated when you need…
1 Apr 2017
Organize Django settings into multiple files and directories. Easily override and modify settings. Use wildcards and optional settings files. Managing Django’s settings might be tricky. There are severals issues which are encountered by any Django developer along the way. First one is caused by the default project structure. Django clearly offers us a single settings.py file. It seams reasonable at…
8 Dec 2014
I’m working on a project that requires Geo proximity search. Basically, what I’m doing is plotting a radius around a point on a map, which is defined by the distance between two points on the map given their latitudes and longitudes. To achieve this I’m using the Haversine formula (spherical trigonometry). This equation is important […]
22 Jun 2014
Three months ago I changed jobs, and in the process switched from Java to Python. Here are the differences that have stood out for me since making the switch. I have previously worked a bit in Ruby, but I had no … Continue reading →
16 Jun 2009
Java has no goto statement, to break or continue multiple-nested loop or switch constructs, Java programmers place labels on loop and switch constructs, and then break out of or continue to the block named by the label. The following example shows how to use java break statement to terminate the labeled loop: public class BreakLabel […]
5 Mar 2009
Here’s the thing: you’re developing a server deployed application, it could be a web application but it doesn’t have to be, and you’re probably deploying to more than one server. Even if you just have one server to deploy to, it still get tiresome in the long run to build your project, fire up your […]
12 Jul 2008
Django has not been updated for a long time. The most current release, 0.96, was released in March 2007. This is a very long time when you look at the roadmap of other frameworks. But guess what, all that is about to change, because Django 1.0 is only two months away! Over the next six […]
15 May 2008
Ajaxterm offers a simple solution to those who want to run a terminal over the Web for performing remote administration tasks. Vincent Danen tells you how to get it and configure it for Apache.
27 Oct 2005
Recap Too much travel and conference fun, too little blogging: I was invited to present a keynote at ACM ICFP 2005 in Tallinn, Estonia at the end of September. The very kind program comittee was unanimously interested in me as the ‘where the rubber meets the road’ speaker. I hope I delivered; I still have … Continue reading "Recap and…
9 Sept 2005
I announced XUL support for Python at ETech to cheers, and now Mark Hammond has begun delivering the goods. See the DOM_AGNOSTIC_BRANCH for his work to enable Python (and other languages, but Python for sure, and other languages need their own champions to do some work) to be used when writing trusted XUL applications and … Continue reading "Python for…