Re: extension programing with c

2006-12-06 Thread Gabriel Genellina
At Thursday 7/12/2006 03:24, mahdieh saeed wrote: thanks for your help .I compile these code with out "\" but when I import module name insert error occurs like this: ImportError: Shared object "libdb-4.5.so" not found - my python code i

Re: extension programing with c

2006-12-06 Thread Gabriel Genellina
At Wednesday 6/12/2006 13:41, mahdieh saeed wrote: I want to define extention module that connect to berkeley db. You know support for Berkeley DB comes with the standard library, don't you? Look at the bsddb module. -

extension programing with c

2006-12-06 Thread mahdieh saeed
Hi I want to define extention module that connect to berkeley db. I define function for connection to berkeley db with c language in one file and define other function for create extention module that can import from python. function for connection to berkeley db is like this: name=BDB.c