Importing libs on Windows?

Brian Salter bsalter01 at earthlink.net
Fri Aug 13 02:52:33 CEST 2010


It appears that every example is calling a dll, and I'm looking to bring in 
a lib.  Does ctypes work with libs too?

"Gary Herron" <gherron at islandtraining.com> wrote in message 
news:mailman.2044.1281656800.1673.python-list at python.org...
> On 08/12/2010 04:09 PM, Brian Salter wrote:
>> I've seen a number of tutorials that describe how to bring in a dll in 
>> python, but does anybody know of a tutorial for how to bring in a lib? 
>> Is it even possible?
>>
>> Thanks, in advance!
>>
>>
>
> Look at the Python module named ctypes:
>    http://docs.python.org/library/ctypes.html
>
> Gary Herron
>
> 



More information about the Python-list mailing list