Combining C and Python programs

Cousin Stanley cousinstanley at
Mon Aug 31 00:40:33 CEST 2009

> I want to write a program that will use ode for the physics 
> simulation, whose python bindings are outdated. So I'm writing 
> the physics engine in C and want to write the drawing code in 
> Python. What will be the best way of making those two programs 
> work together? THe physics engine won't have to run concurrently 
> with the drawing code. It will only return some position data so 
> they can be drawn.

  You might find VPython useful ....

  A VPython example using ode ....

Stanley C. Kitching
Human Being
Phoenix, Arizona

More information about the Python-list mailing list