is win api available in native python

Miki Tebeka tebeka at cs.bgu.ac.il
Mon Mar 24 16:46:53 CET 2003


Hello Phil,
> I see python has a windows api extension.  But is there something
> available in the native python to close an open dialup connection.  and
> also to exit windows or force shutdown.  I guess I'm looking for the way
> to load and call one of the windows dlls if possible.  I would think I
> need to identify the os so it would only be available to windows users.
> 
> the winapi is
> InternetAutodialHangup
> and
> ExitWindowsEx
The 2'nd is supported in Mark's winapi
(http://starship.python.net/crew/mhammond/win32/Downloads.html)
maybe you can ask him to add the 1'st ;-)

Miki




More information about the Python-list mailing list