Quote:
Originally Posted by ajiten
Was curious about how to pass a double pointer, triple pointer in Python, from a C code.
|
This would certainly qualify as an
"XY Problem". In which "the problem that you propose" is not "the problem that you actually have."
Why are you "curious" about "passing [x] to Python?" What are you now trying to
do?
Details right now are very important: "if you're trying to interface to 'a library,'
exactly which one?" And, so on.
The Python programming language
(in particular ...) has been applied to "create powerful interfaces to" a very great many things, and so there is actually quite a very-lot of material already out there on the Internet about how exactly it was done. (In fact, you certainly should not overlook the possibility that what you are now trying to do might have
already been done. "Or something very close to it.") Sites like
github and
sourceforge are your friends.