Calling DLLs from Python [Windows]
Georgy Pruss
SEE_AT_THE_END at hotmail.com
Wed Oct 8 06:05:56 EDT 2003
More information about the Python-list mailing list
Wed Oct 8 06:05:56 EDT 2003
- Previous message (by thread): Calling DLLs from Python [Windows]
- Next message (by thread): print is not a function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): Calling DLLs from Python [Windows]
- Next message (by thread): print is not a function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list