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
Mårten Hedman wrote:
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.
I was reading a Microsoft news group and came across this post
Got this during a scan of my computer:
infected: object C:\hp\bin\python-2.2.3.exe:\comparisons.html
result: trojan horse PHP/MPack.B
status: infected embedded object
inefected: object C:\hp\bin\python-2.2.3.exe
What can/should
The following code creates an IE browser, navigates to Google, and then
clicks on the 'News' link.
- code -
ie = win32com.client.DispatchEx('InternetExplorer.Application')
ie.Visible = 1
ie.Navigate('www.google.com')
time.sleep(10)
# show a '.' access fairly deep into the page's DOM (to