python how to load multiple C libraries

Chris Angelico rosuav at gmail.com
Wed Sep 16 11:41:08 CEST 2015


On Wed, Sep 16, 2015 at 7:35 PM, chenchao at inhand.com.cn
<chenchao at inhand.com.cn> wrote:
> I encountered a problem. I use ctypes load multiple C  libraries, but the
> libraries have dependence each other.So, how can i load these libraries. For
> example, I have two libraries:A、B, but A depends on B, B depends on A. So
> how do I load them? Is there anybody know how to do it?

How are the libraries built? A circular dependency is always a
problem. How would a C program handle this?

ChrisA


More information about the Python-list mailing list