471,318 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,318 software developers and data experts.

Dl objects under unix: advantageous or not ?

varuns
39
i looked through python library reference and found that we can use "dl" to open a shared library.

so my question is whether to use "dl" directly or make my own module, so that i can call c functions from the new module.

some info is there in reference manual but where i can get more information regarding why not to use "dl".
Jun 8 '07 #1
2 875
bartonc
6,596 Expert 4TB
i looked through python library reference and found that we can use "dl" to open a shared library.

so my question is whether to use "dl" directly or make my own module, so that i can call c functions from the new module.

some info is there in reference manual but where i can get more information regarding why not to use "dl".
Is it fair to assume that you mean DLL? If so I can tell you that this is a great way to call C library functions. I use the ctypes module often with great success. (I am, of course, experienced in Windows. I guess they are not called "DLL" in the *nix world)
Jun 8 '07 #2
varuns
39
Actually dl is not dll. "dl" is a module which comes under unix specific services you can see the library reference for more details

click here:http://docs.python.org/lib/module-dl.html
Jun 8 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

10 posts views Thread by Michael | last post: by
5 posts views Thread by Reckoner | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.