Using python in visual studio7/9/2023 ![]() ![]() This article walks you through building a C++ extension module for CPython that computes a hyperbolic tangent and calls it from Python code. Low-level system access modules: You can create these modules to access lower-level features of the CPython runtime, the operating system, or the underlying hardware.Wrapper modules: These modules expose existing C/C++ interfaces to Python code or expose a more "pythonic" API that's easy to use from Python.Accelerator modules: Because Python is an interpreted language, you can write accelerator modules in C++ for higher performance.You can also use them to enable access to low-level operating system capabilities. ![]() Commonly, modules written in C++ (or C) are used to extend the capabilities of a Python interpreter.
0 Comments
Leave a Reply. |