Python and OpenGL

I want to write my program in Python, but since it’s so slow, do the main number crunching in c++, but I don’t know how to integrate the two. Where do I find out about this?
Otherwise, with out using glut…how can I manage my windowing?
Thanks!

Originally posted by Satanic Dogus:
I want to write my program in Python, but since it’s so slow, do the main number crunching in c++, but I don’t know how to integrate the two. Where do I find out about this?
Otherwise, with out using glut…how can I manage my windowing?
Thanks!

This all depends on what platform you are developing and what compiler you are using. If you are going to write the “number crunching” code in C++ why not just write the whole thing in C++??

I’m running Irix 6.5 on an SGI Octane.
I want to use python, because lots of people will modify this program for their own uses, and instead of making them write out the program again in C++, which most of them don’t know, they can just change the scripts of python.

Trying to get a reply or two more!