Sitelet https://github.com/tedvz/visualstudio-docs/blob/master/docs/python/getting-started-with-python.md
Skip to content

Latest commit

 

History

History
104 lines (84 loc) · 5.86 KB

File metadata and controls

104 lines (84 loc) · 5.86 KB
title Getting Started with Python | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
devlang-python
ms.tgt_pltfrm
ms.topic article
ms.assetid 33f4f6fb-0ae4-4234-9df2-531f2d3af17f
caps.latest.revision 11
author kraigb
ms.author kraigb
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

Getting Started with Python

The Python Tools for Visual Studio (PTVS), is a free, open-source plug-in for Visual Studio that a powerful Python development experience.

Python the Language

Python is a popular programming language that is used by many universities, scientists, app scripters, casual developers, and professional developers, working on applications, web sites, and cloud services.

As a programming language, Python is:

  • Reliable.
  • Generally useful for scripting quick programs, app scripting, desktop apps, web servers, web services, and scientific computing.
  • Easy to learn and has a good design to encourage good coding (many universities use it for introductory programming courses).
  • Flexible, supporting imperative, functional, and object-oriented programming styles.
  • Free and open source.
  • Runs well on all major operating systems.
  • Supported by many free, useful, and well-designed libraries.
  • Supported by lots of documentation, samples, and a strong developer community.

To learn more about the language, start with Python for Beginners on python.org.

To install Python itself, visit http://python.org/download/.

Python Tools for Visual Studio

The Python Tools for Visual Studio, which you can install from visualstudio.com, provide the following features:

  • Support for multiple interpreters: various versions of CPython, IronPython, and IPython
  • A project system that implicitly picks up a folder structure of Python code, and also allows explicit control so you can identify app code, test code, web pages, JavaScript, build scripts, and so on.
  • Project templates for console, web, Azure, data science, and other types of projects.
  • The Azure SDK for Python (see below)
  • Rich editing and code comprehension features including syntax coloring, auto-complete across all your code and libraries, signature help, class view, Go to Definition, Find All References, refactoring, and more.
  • An Interactive (REPL) Window
  • IPython with data visualizations.
  • Support for IronPython and .NET/WPF.
  • Rich debugging without a Visual Studio project, the ability to an existing executable, mixed-mode debugging, remote debugging to Windows/Linux/Mac, and debugging within the Interactive Window.
  • Profiling tools.
  • Testing tools.

The following resources will help you get started:

Azure SDK for Python

The Azure SDK for Python, which supports Windows, Mac, and Linux, makes it easy to consume and manage Microsoft Azure Services. Refer to the following resources for details:

Scientific Computing

In addition to all the Python data-scientist libraries, the Python Tools for Visual Studio support IPython and IPython Notebooks, which can be hosted in Azure.

We recommend obtaining IPython and scientific computing libraries (matplotlib, scipy, numpy, etc.) from University of California, Irvine.

See Also

Getting Started with PTVS: Setting up Visual Studio
Getting Started with PTVS: Start Coding (Projects)
Getting Started with PTVS: Editing Code
Getting Started with PTVS: Debugging
Getting Started with PTVS: Interactive Python
Getting Started with PTVS: Building a Website in Azure