[Tutor] how do I use windows.h with python?

Alan Gauld alan.gauld at btinternet.com
Wed Apr 2 02:45:36 CEST 2008


"elis aeris" <hunter92383 at gmail.com> wrote 

> this is a sample code that use window.h function i THINK.
> 
> where can I read up on windll ?

The Windows API is documented on the MSDN website.
Alternatively find a copy of the Win32API help file, it is usually 
distributed with development tools like Visual studio, Delphi, etc

Try Googling win32.hlp for links to older copies.

Also Wikipedia has a good overview with more links.

Finally the Pythonwin help file has a lot of the same info
but is ISTR more targetted at the MFC classes than the 
raw Win32 API.

If you do intend to use Win32 from Python then Google 
for ctypes tutorials/examples too. But whatever you want 
to do there will almost always be easier ways to do it 
without going near Win32! But if you really want to make 
life hard for yourself the links above should help get you 
started.


HTH,

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld




More information about the Tutor mailing list