WSH: Popup timeout problem in PythonWin

Steve Canfield stevecanfield at my-deja.com
Thu Jul 26 14:09:43 EDT 2001


If I put the following code in a file called test.py and double click
on it, it works as I would expect.  A message box is shown for three
seconds.

  from win32com.client import Dispatch
  wshell = Dispatch('WScript.Shell')
  wshell.Popup("hello", 3)

If I run the same code in PythonWin, it never times out.  Any idea
why?  I'm using win32all build 139 & Python 2.1.

-steve



More information about the Python-list mailing list