unpacking Python tuple in C

John J. Lee phrxy at csv.warwick.ac.uk
Wed Dec 13 18:40:19 CET 2000


On Wed, 13 Dec 2000, Mike Müller wrote:
> >Stepping back from your immediate problem, what are you actually
> >trying to do?  I can infer it from what you've said here, I'm afraid.
>
> I am writing my program in Python (it's a water quality model). There is a
> "main" model written by somebody else in FORTRAN which calls  submodels as
> DLLs. My Python model is one of these submodels. Now I try to speeze
> everything into a DLL. So C is the "glue" and just has to pass some args
> back and force from the main to the submodel. I do NOT program any
> functionallity in C (just the argument passing via the DLL). Besides this it
> seems I need to improve my knowledge of C.

Things that may be of interest: Numeric Python of course, Pyfort, FPIG,
SWIG.


John




More information about the Python-list mailing list