Python Tools for Visual Studio (PTVS) and NumPy and SciPy Libraries for .NET Available from CodePlex

Microsoft for Python developers released a free, open-source add-on to its Visual Studio suite dubbed "Python Tools for Visual Studio (PTVS)".PTVS, available under the Apache 2.0 license, and available for download from Microsoft's CodePlex site came out of the Technical Computing Group unit at Microsoft and supports "CPython, IronPython, Jython and PyPy."Key PTVS features include:Support […]

Microsoft for Python developers released a free, open-source add-on to its Visual Studio suite dubbed "Python Tools for Visual Studio (PTVS)".

PTVS, available under the Apache 2.0 license, and available for download from Microsoft's CodePlex site came out of the Technical Computing Group unit at Microsoft and supports "CPython, IronPython, Jython and PyPy."

Key PTVS features include:

  • Support for CPython, IronPython, Jython, and PyPy
  • Advanced editing capabilities, including IntelliSense
  • Multiple refactorings, such as "Extract Method"
  • A built-in REPL (read-eval-print loop) window
  • Debugging and profiling capabilities

"Visual Studio has a great editing experience, and with PTVS this experience now extends to the Python language. Capabilities begin with basics like syntax highlighting and extend to support for the navigation bar and object browser. It provides IntelliSense for your Python code based on a deep analysis of either your project or a directory of files, including understanding your classes and methods and peering into how you're using core Python data structures like lists, tuples, and dicts. Additionally, based upon the same analysis used for IntelliSense, PTVS provides "Find all References" and "Go to Definition" features, which allow you to quickly navigate your code," explained Somasegar.

Somasegar sadi that this release "automates two commonly needed refactoring patterns: "Extract Method" and "Rename Variable"."

"One of the most important aspects of Python development is interactivity, and PTVS integrates a Python REPL directly into Visual Studio. The REPL window will work for all of the aforementioned Python variants and supports auto-completion, syntax highlighting, and visualizations," he said.

Also, that "In addition to standard debugging support, PTVS enables MPI cluster debugging. With this you can create a Python application and easily debug it on your Windows HPC cluster. Press 'F5', and your application will be deployed to the cluster and launched with debugging support."

And, beyond debugging, with PTVS integrated into Visual Studio Premium or higher, you also get a great profiling experience similar to that provided for C#, Visual Basic, C++, and JavaScript," Somasegar said.

Also, the Redmondians today made availabile the "NumPy and SciPy Libraries for .NET." "This port to .NET by Enthought, Inc. enables IronPython and other .NET languages to take advantage of these important technical computing libraries which support mathematical, engineering, and scientific domains," explained Somasegar.

PTVS - Core editing experience with Python Tools for Visual Studio:

You can download both form the CodePlex, the Python Tools for Visual Studio (PTVS) here, and NumPy and SciPy Libraries for .NET here.