Re: Function References
- From: "Diez B. Roggisch" <deets@xxxxxxxxxxxxx>
- Date: Thu, 31 Jul 2008 16:33:38 +0200
squishywaffle@xxxxxxxxx wrote:
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.
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.
How much more liberal can it get than MIT-licensed?
"""
to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
"""
But then, if you insist, go down the hard road.
Diez
.
- Follow-Ups:
- Re: Function References
- From: squishywaffle@xxxxxxxxx
- Re: Function References
- From: Diez B. Roggisch
- Re: Function References
- References:
- Function References
- From: squishywaffle@xxxxxxxxx
- Re: Function References
- From: Diez B. Roggisch
- 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: Need help in writing up a Python Syntax checker
- Next by Date: Re: Function References
- Previous by thread: Re: Function References
- Next by thread: Re: Function References
- Index(es):
Relevant Pages
|