364,111 Members | 2066 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

calling a dylib in python on OS X

robspychala@gmail.com
P: n/a
robspychala@gmail.com
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


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

robspychala@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

Alex Martelli
P: n/a
Alex Martelli
<robspychala@gmail.com> wrote:
[color=blue]
> Hi
>
> Is there something similar to python's windll for calling DLLs on win32
> but meant for calling dylib's on OS X?[/color]

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

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

vic

On 22 Oct 2005 23:40:17 -0700, robspychala@gmail.com
<robspychala@gmail.com> wrote:[color=blue]
> 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
>[/color]


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

Post your reply

Help answer this question



Didn't find the answer to your Python question?

You can also browse similar questions: Python browse dylib