[python-win32] High Baud Rate Serial Port Question

2007-07-19 Thread Jeff Taylor
I know this has probably been brought up many years ago, but I'm rather new to Python. Is there a way to open a serial port with a baudrate greater than 115.2kbps? I'm currently using pyserial and it can handle over 115.2, but when it calls win32file, win32file gives back a bad parameter error

[python-win32] Backing up and clearing event logs

2007-07-19 Thread MÃ¥rten Hedman
Hello, I am trying to write a script for backing up and clearing event logs on our Windows 2003 servers, using Python 2.5 and Tim Golden's WMI module. While testing with the Application log on a local Windows XP machine I seem to get stuck on the parameters to WMI. The following code: import wmi