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

calling a dylib in python on OS X

P: n/a
Hi

Is there something similar to python's windll for calling DLLs on win32
but meant for calling dylib's on OS X?

thanks,

r.s.

Oct 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ro*********@gmail.com wrote:
| Hi
|
| Is there something similar to python's windll for calling DLLs on win32
| but meant for calling dylib's on OS X?
|
| thanks,
|
| r.s.
|
Can you be more specific about what you are trying to do/what dylib you
want to call?
- --
Cheers,

Kevin Walzer, PhD
WordTech Software - "Tame the Terminal"
http://www.wordtech-software.com
sw at wordtech-software.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDW8ZmJmdQs+6YVcoRAvKPAJ0TUW8hgRN6AOn/nBP1v12kqmLXrQCfc5B1
uVv3uBAz7I/jO7l/htpuTb0=
=oXiv
-----END PGP SIGNATURE-----
Oct 23 '05 #2

P: n/a
<ro*********@gmail.com> wrote:
Hi

Is there something similar to python's windll for calling DLLs on win32
but meant for calling dylib's on OS X?


ctypes should work just fine on Macs, just as well as on Windows and
Linux machines as well as many other Unix dialects. Try
http://starship.python.net/crew/theller/ctypes/ ...
Alex
Oct 23 '05 #3

P: n/a
You can use Pyrex which will generate a C module for you.

vic

On 22 Oct 2005 23:40:17 -0700, ro*********@gmail.com
<ro*********@gmail.com> wrote:
Hi

Is there something similar to python's windll for calling DLLs on win32
but meant for calling dylib's on OS X?

thanks,

r.s.

--
http://mail.python.org/mailman/listinfo/python-list

--
"Never attribute to malice that which can be adequately explained by
stupidity." - Hanlon's Razor
Oct 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.