Tony Cappellini wrote:
>I would like to write a simple program so I can initiate a Shutdown (power
> off), Restart, or Switch User.
>
> Would someone point to the API's that I need to do this?
You can do a shutdown or reboot with win32api.ExitWindowsEx.
To switch users, use win32ts.WTSDisconnec
I would like to write a simple program so I can initiate a Shutdown (power off), Restart, or Switch User.Would someone point to the API's that I need to do this?thanks
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/
t; # Date, Run_dateYMD -> number, status -> Script
>
> cursor.execute("INSERT INTO local_cmgenadm
> (Application,Run_Date,Run_DateYMD,status) values
> (\'rimDev2PrdMdbDistrictPermit\',\'%s\', \'20060731\' ,
> \'Good\')")%mytime
nn.cursor()
# data type in mdb is as follows: application -> Text, Run_Date ->
# Date, Run_dateYMD -> number, status -> Script
cursor.execute("INSERT INTO local_cmgenadm
(Application,Run_Date,Run_DateYMD,status) values
(\'rimDev2PrdMdbDistrictPermit\',\
Hi,
0.3.6 release of pywinauto is now available.
pywinauto is an open-source (LGPL) package for using Python as a GUI
automation 'driver' for Windows NT based Operating Systems (NT/W2K/XP).
SourceForge project page:
http://sourceforge.net/projects/pywinauto
Download from SourceForge
http://sour