Path: csiph.com!news.swapon.de!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.089 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.00; 'libraries.': 0.09; 'subject:python': 0.14; 'hi:': 0.16; 'load': 0.20; 'ctypes': 0.22; 'libraries': 0.22; 'header:User-Agent:1': 0.26; 'them?': 0.29; 'anybody': 0.32; 'problem.': 0.35; 'but': 0.36; 'there': 0.36; 'depends': 0.36; 'to:addr:python-list': 0.36; 'received:10': 0.37; 'two': 0.37; 'to:addr:python.org': 0.40; 'received:103': 0.84; 'received:qq.com': 0.84 X-QQ-mid: Yesmtp31t1442396119t064t2936 X-QQ-SSF: 00400000000000F0F622B00A0000000 X-QQ-FEAT: 06QCU6MVS3rm4qhHs9NAIXcOOToXgQidZZ5Ulp0796+RlVgBX4pUBtvMyaxSR S8zfIs+j7N2qcHn4E96NGrxPyKb6EGbN4P6L8z4ZZTIEySFRqMZbjseJGQsCh3ccFSB9/4b eTGqAYi6NYAXdjoFUQOuv6bwdNGX5fhvkYmeGz73a0hi2NMFHLXqmkOfq3TvnILtUEmM3Ac 9V02TzFYOWVhqLLh60D5mA5HNIQXDet7SDQCNMie1u2M3mTLsgKii X-QQ-GoodBg: 0 To: python-list@python.org From: "chenchao@inhand.com.cn" Subject: python how to load multiple C libraries Date: Wed, 16 Sep 2015 17:35:18 +0800 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 X-QQ-Bgrelay: 1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442396131 news.xs4all.nl 23759 [2001:888:2000:d::a6]:34519 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96668 hi: 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?