speeding things up with C++

bullockbefriending bard kinch1967 at gmail.com
Mon May 28 07:46:42 EDT 2007


thanks! i'll look into this.

On May 27, 5:35 am, Che Guevara <sreckotoro... at gmail.com> wrote:
> On May 26, 11:19 am, bullockbefriending bard <kinch1... at gmail.com>
> 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





More information about the Python-list mailing list