[python-win32] Re: Once Click Shutdown, restart or Switch User

2006-07-31 Thread Roger Upole
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

[python-win32] Once Click Shutdown, restart or Switch User

2006-07-31 Thread Tony Cappellini
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/

Re: [python-win32] Python help for Access database

2006-07-31 Thread Robert Brewer
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

[python-win32] Python help for Access database

2006-07-31 Thread Ahmed, Shakir
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\',\

[python-win32] ANN: pywinauto 3.6 released

2006-07-31 Thread Mark Mc Mahon
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