LoginSignup
29
34

More than 5 years have passed since last update.

Visual Studio 2017でPython開発

Last updated at Posted at 2017-05-21

Visual Studio 2017でPythonの開発ができるようになりましたのでその手順です。

環境

Windows 7 Professional SP1 64bit
Visual Studio 2017 Community 15.2 (26430.6)
Python 3.6.0
※Pythonは事前にインストールしていません。

Python開発インストール

Visual Studio 2017のインストーラーからPython開発をインストールします。

aaaa.png

Pythonプロジェクト作成

Visual StudioからPythonの新規プロジェクトを作成します。
今回はコンソールアプリケーションにします。

bbb.png

プロジェクトが作成されるので、「Hello World」を表示するプログラムを作成します。

PythonSample.py
print("Hello World")

ccc.png

プログラムを作成したら実行します。「Hello World」が表示されます。

ddd.png

以上でプロジェクトの作成は完了です。

29
34
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
29
34