Re: [python-win32] How to implement a COM interface (that is not part

2006-09-21 Thread Ken Channing
Thanks for your help -- I searched around some more and I think I have the basic idea down -- if you want to implement a COM interface, it should look something like this: Use makepy -i to generate a file from the typelib containing the interface definition. In my case the file generated is

[python-win32] from: http://mail.python.org/pipermail/python-list/2006-January/320434.html

2006-09-21 Thread filippo randello
Hello, if after your command: ie.Document.login_form.submit() I write: doc = ie.Document s = doc.documentElement.outerHTML print s I can see the HTML of the document before the submit command, but I would like to see the HTML of the page after the submit command: do you know how to solve this

Re: [python-win32] Module not found weirdness

2006-09-21 Thread Tim Roberts
Derick Van Niekerk wrote: I uninstalled everything, deleted any remaining dirs, rebooted and reinstalled only python, wx and win32. Still the same problem. So I'm sure the problem is not with the python libs themselves... That is an unjustified conclusion. You may be sure that the problem

Re: [python-win32] Browse button in windows

2006-09-21 Thread Tim Roberts
[EMAIL PROTECTED] wrote: Hi: I am totally an freshman to Python, and I want to build in my python program a button just like the Browse button in windows which will pop out a dialog window to select files from the local machine. Can somebody tell me the library and method that might be useful?

Re: [python-win32] How to implement a COM interface (that is notpart

2006-09-21 Thread Mark Hammond
Thanks for your help -- I searched around some more and I think I have the basic idea down -- if you want to implement a COM interface, it should look something like this: That all looks correct! import win32com.server.util qnotify = win32com.server.util.wrap(Q()) Try adding