1

I'm new to Python. Is there a way to use C++ libraries while coding in Python?

What technique should be used to perform this task?

Bach
  • 6,145
  • 7
  • 36
  • 61
user40
  • 1,361
  • 5
  • 19
  • 34

2 Answers2

2

You may refer this documentation link to get the details on how to call C++ functions from Python.

hellboy
  • 2,222
  • 1
  • 14
  • 19
2

In addition, you can use one the various c++ to python wrapping libraries out there, like swig or boost.python. Depending on the complexity and "size" of the c++ library, this might be the more efficient solution.

sebastian
  • 9,526
  • 26
  • 54