I have a source code written in cpp that I want to compile and be readable in Python. Python must give 2 filenames as input and retrieve a matrix and a vector as output. If I had to do it in C/C++ I'd use 2 chars and 2 pointers but I don't know how a compiled C/C++ program can be seen for Python language.
I hope that someone can help me. Thank you very much.
ctypesor a Python extension. The former would probably be quicker in terms of development. You build you C++ code into a DLL and export a single function. Read the ctypes documentation to learn how to get at it from Python.