[python-win32] ANN: PyGUI 2.0.2

2009-04-16 Thread Greg Ewing
PyGUI 2.0.2 is available: http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/ Fixes problem on Windows causing "This file should not be imported" error. What is PyGUI? -- PyGUI is a cross-platform GUI toolkit designed to be lightweight and have a highly Pythonic API. -- Gre

Re: [python-win32] ANN: PyGUI 2.0

2009-04-16 Thread Greg Ewing
Christian K. wrote: File "c:\pythonxy\python\lib\site-packages\GUI\Win32\__init__.py", line 2, in raise ImportError("This should not be imported.") ImportError: This should not be imported. I'll be releasing a fix for this soon. In the meantime, remove GUI/Win32/__init__.py. -- Greg _

Re: [python-win32] win32gui.GetMenu() return 0

2009-04-16 Thread Tim Roberts
wensi liu wrote: > Thanks for your quick response! > > Actually, I am trying to click Menu even SubMenu > > like: > Tools->Internet Options > Tools->SmartScreen Filter->Check This Websit Most of the things in Internet Options can be controlled through COM and normal APIs. What, specifically, a

Re: [python-win32] win32gui.GetMenu() return 0

2009-04-16 Thread Tim Roberts
wensi liu wrote: > > I am a novice of Python. > > I tried writing code for handle IE but failed. > > I list simple code below: > > import win32com.client > import win32api > import win32gui > ie = win32com.client.Dispatch('InternetExplorer.Application') > ie.Navigate('www.msn.co

[python-win32] win32gui.GetMenu() return 0

2009-04-16 Thread wensi liu
Hi, I am a novice of Python. I tried writing code for handle IE but failed. I list simple code below: import win32com.client import win32api import win32gui ie = win32com.client.Dispatch('InternetExplorer.Application') ie.Navigate('www.msn.com') ie.Visible = 1 while

Re: [python-win32] ANN: PyGUI 2.0

2009-04-16 Thread Christian K .
Hi, I get the following traceback when running any demo. This is on XP using PyGUI 2.0.1 with pythonxy 2.1.12, pywin32 2.13 Christian $ python nag_box.py File "nag_box.py", line 1, in from GUI import ModalDialog, Label, Button, Task, application File "c:\pythonxy\python\Lib\site-pac