O'Reilly logo

Python Tools for Visual Studio by Cathy Wang, Martino Sabia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

IronPython

IronPython is an open source implementation of the Python language which is tightly integrated with the Microsoft .NET framework. This means that you can use the .NET libraries through IronPython in your Python applications or use Python scripts inside .NET languages.

Using .NET classes in Python code with IronPython

To set up IronPython in PTVS, first we need to download the IronPython installer from the official website, http://ironpython.net/.

Once you download the version of the package for your operating system, install the package by double-clicking on it. After the installation is complete, you will see that a new interpreter is available in the Python Environments window as follows:

In the example shown in the preceding screenshot, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required