currently im making some crawler script,one of problem is 
sometimes if i open webpage with PAMIE,webpage can't open and hang forever.
are there any method to close PAMIE's IE  or win32com's IE ? 
such like if webpage didn't response or loading complete less than 10sec or so .
thanks in advance
I think what you are looking for is somewhere to set the timeout on your request. I would suggest looking into the documentation on PAMIE.
win32com and PAMIE web page open timeout