本家: [[https://www.boost.org/doc/libs/release/libs/python/|Boost.Python - Boost Library Documentation]]\\
**Boost Python Library** は、Python と C++ を連携させるためのフレームワークである。Dave Abrahams の C++ コンパイラだけで、特別なツールを使用することなく、C++ クラスの関数やオブジェクトを Python に素早くシームレスに公開できる。\\
以下は **Visual Studio** を利用して、**Python** からインポートできる **CPython** と **Boost.Python** で **C++ 拡張機能 (C++ extension)** を実装する方法の手順である。\\
[[python:python_install|Python のインストール]] が済んでいること。\\
[[windows:visualstudio|Visual Studio]] がインストール済みであること。\\
[[c_cpp:boost|Boost C++ Libraries]] がインストール済みであること。\\
Visual Studio を起動して、**「新しいプロジェクトの作成」**をクリックする。\\
{{c_cpp:visualstudio2019_boost.python_001.png?600|Visual Studio 2019 Boost.Python 001}}\\
<WRAP prewrap 100% mincode>
<code>
言語: Python
プラットフォーム: すべてのプラットフォーム
プロジェクトの種類: コンソール
</code>
</WRAP>
を選択して、**「Python アプリケーション」**をクリックし **[次へ]** をクリックする。\\
{{c_cpp:visualstudio2019_boost.python_002.png?600|Visual Studio 2019 Boost.Python 002}}\\
以下の内容で新しいプロジェクトを構成して **[作成]** をクリックする。\\