Calling DLLs from Python [Windows]
Georgy Pruss
SEE_AT_THE_END at hotmail.com
Wed Oct 8 06:05:56 EDT 2003
Thank you!
Georgy
"Jimmy Retzlaff" <jimmy at retzlaff.com> wrote in message news:mailman.1065605473.18205.python-list at python.org...
> Georgy Pruss wrote:
> >How can I call a function which is in a Windows DLL? For example,
> ...
> >Google didn't help on this.
>
> Google for ctypes, it makes simple calls very easy:
>
> import ctypes
> ctypes.windll.kernel32.Beep(100, 100)
>
> You can also do much more complex things involving structures, pointers,
> callbacks, etc. with a little more work.
>
> Jimmy
More information about the Python-list
mailing list