On May 26, 11:19 am, bullockbefriending bard <[EMAIL PROTECTED]> wrote: > However, I hope someone reading this will be able to tell me that I'm > being a total pessimist and that in fact it isn't very difficult to do > what I want to do using SWIG. I'm not asking for a complete solution, > more like some general pointers from someone who has actually done > something similar before.
I do stuff like that with ctypes ( http://docs.python.org/lib/module-ctypes.html )! I'm sure you can figure out some way to pass/return data to/from your C ++ lib. The easiest way - use strings or arrays, but if you dig deeper into ctyles documentation, I'm sure you will find a better solution! Good luck, -- misreckoning -- http://mail.python.org/mailman/listinfo/python-list