Python using dlls?
sismex01 at hebmex.com
sismex01 at hebmex.com
Tue Dec 17 11:59:54 EST 2002
> From: stevesusenet at yahoo.com [mailto:stevesusenet at yahoo.com]
> Sent: Tuesday, December 17, 2002 10:53 AM
>
> A friend of mine who knows python decided to learn small talk so he
> could build a gui for ms windows.
>
> I asked him why he didn't use python with all of its bindings to all
> of the various gui libraries.
>
> He told me that he needed the gui to deal with a dll and the best
> python could do was wrap the c code for it ( do-it-yourself ).
>
> Is this true?
>
> Steve
>
Check out a module called "ctypes", I don't have an URL
handy, sorry. But this module lets you --on the platform
you're running on-- call dynamic libraries directly,
interfasing with C native data types directly.
This may be dangerous, of course, but it seems like your
friend knows what he's doing.
-gustavo
More information about the Python-list
mailing list