Python Forum

Full Version: Connecting c++ and python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi ! I need help. I wanted to make program that take some data from website and process it in c++. So here's the question. How to make program with c++ that triggers python script that updates data every 10ms, because that data changes very often and would it take much cpu because i have weak processor.
Other way around. You write a Python program that gets some data from a website and calls a C++/C function. The Python documentation has a nice article about it here:

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

A google search for videos or tutorials will return hundreds of results.