need a example for the win32api

Mark Hammond mhammond at skippinet.com.au
Thu May 4 18:30:38 EDT 2000


"Ralf Claus" <ralf.claus at t-online.de> wrote in message
news:8es2j4$4pn$1 at news00.btx.dtag.de...
> Hello,
> i seek a concrete example of the use of the win32api!?

OK:

>>> import win32api
>>> win32api.GetComputerName()
'BOBCAT'

To do much else, you will knowledge of exactly what those API functions
do.  This is beyond the scope of the Python documentation.  Your best bet
is msdn.microsoft.com

Mark.





More information about the Python-list mailing list