Hi to everybody,
I am new in this forum and i have a question:
Can anyone show me an example of how to import a python library into a C++
program?
For examples how i can import the urllib into a C++ program? And if it is possible how i can compile the c++ program in linux?
Thanks in advance.
What you can do, is embed Python in C++.
Since Python is an interpreted language, it's possible to load the interpreter and pass scripts and data to it, and get return values back.
You should read the Python documentation for details on how to do this.