Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 482 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 482 Bytes

EmbeddingPython

A POC showing how Python can be embedded in C/C++.

An Internet-based article on using multiple programming languages to develop an application aroused my interest and motivated me to try doing so using C/C++ and Python.

C forms the backbone here and calls into Python to start a calculator program.

To compile on Ubuntu, pass the libpython library. gcc -lpython2.7 -o

References: https://docs.python.org/3/extending/embedding.html