By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,957 Members | 1,960 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,957 IT Pros & Developers. It's quick & easy.

Wrapper module for Linux shared lib

P: n/a
What's the best resource for finding out how to write a wrapper module
for a shared library file *.so* in Linux?

Sep 16 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Ernesto enlightened us with:
What's the best resource for finding out how to write a wrapper
module for a shared library file *.so* in Linux?


The extension documentation on the python website.

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
Sep 16 '05 #2

P: n/a
On Fri, 16 Sep 2005 15:49:15 +0100, Ernesto <er*******@gmail.com> wrote:
What's the best resource for finding out how to write a wrapper module
for a shared library file *.so* in Linux?


I thoroughly recommend pyrex ... it was a joy to use:

http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
--

| Matt Hammond
| R&D Engineer, BBC Research & Development, Tadworth, Surrey, UK.
| http://kamaelia.sf.net/
| http://www.bbc.co.uk/rd/
Sep 16 '05 #3

P: n/a
Ernesto wrote:
What's the best resource for finding out how to write a wrapper
module for a shared library file *.so* in Linux?


If you have only the .so file, not the source, you can use ctypes.
I work always with it without problems.

Michele
Sep 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.