Re: Function References
- From: Matthew Woodcraft <mattheww@xxxxxxxxxxxxxxxxxxxxxx>
- Date: 31 Jul 2008 17:51:31 +0100 (BST)
Ctypes is a since python2.5 built-in module that allows to declare
interfaces to C-libraries in pure python. You declare datatypes and
function prototypes, load a DLL/SO and then happily work with it. No C, no
compiler, no refcounts, no nothing.
And you can pass python-functions as callbacks.
squishywaffle@xxxxxxxxx wrote:
The first sentence (and some really crummy licensing restrictions
imposed by the library distributor) alone here excludes this as a
valid option for this particular case, I definitely need Python 2.4
support.
Perhaps all is not lost: ctypes works from Python 2.3 up. That first
sentence is saying that since Python 2.5 it has been included in the
standard Python distribution, but you can still download it separately.
-M-
.
- References:
- Function References
- From: squishywaffle@xxxxxxxxx
- Re: Function References
- From: squishywaffle@xxxxxxxxx
- Re: Function References
- From: Diez B. Roggisch
- Re: Function References
- From: squishywaffle@xxxxxxxxx
- Function References
- Prev by Date: Re: Non Continuous Subsequences
- Next by Date: Re: problem when reading file
- Previous by thread: Re: Function References
- Next by thread: Re: Function References
- Index(es):
Relevant Pages
|