I found this text about combining C-code with Pyton scripting on the P2P networks in PDF:
Python Scripting for Computational Science Hans Petter Langtangen Simula Research Laboratory and Department of Informatics University of Oslo amazon and others have it in print. software for the text is here: http://folk.uio.no/hpl/scripting/ if you want to download the 1st edition from http://folk.uio.no/hpl/scripting/ the password (first word on page 92) is "leads" (no quotes) -- http://mail.python.org/mailman/listinfo/python-list