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

2006-09-21 Thread Ken Channing
> Try adding useDispatcher=1 as a param to wrap. That will cause the object > to use a "debug" dispatcher, and should spew print statements to > win32traceutil - ie, the same as if the object was registered with "--debug" > (but as this object is not registered at all, --debug isn't an option; the

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 useDispa

Re: [python-win32] "Browse" button in windows

2006-09-21 Thread Tim Roberts
You should always reply to the whole list so that future folks with the same question can see the answers. [EMAIL PROTECTED] wrote: >Actually, I am just using Tkinter library, but I don't know there is some >widget to access the windows file system or not. Thanks > > Yes, a few minutes with Go

Re: [python-win32] Module not found weirdness

2006-09-21 Thread Derick Van Niekerk
After rebooting the pywintypes.error message has changed slightly:Traceback (most recent call last): File "C:\Documents and Settings\Derick\Desktop\test.py", line 73, in ?frame = TestFrame () File "C:\Documents and Settings\Derick\Desktop\test.py", line 23, in __init__ self.nextWnd = win32clipboard

Re: [python-win32] Module not found weirdness

2006-09-21 Thread Derick Van Niekerk
Unless you have been infected by a virus, user32.dll is not broken.Please eliminate that option from consideration.  Windows constantly monitors all of the critical system files and replaces them with hidden,cached copies if they change.Do you run any real-time virus or spyware checkers?  Have you

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 usef

[python-win32] "Browse" button in windows

2006-09-21 Thread zhangh1
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? Thanks ___

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 probl

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

2006-09-21 Thread Metz, Bobby W, WWCS
One possible solution...just sleep until the ie object reports it's not busy. Should mean the form submission has completed and the new document as loaded. ie.Document.login_form.submit() while ie.Busy: time.sleep(.5) s = doc.documentElement.outerHTML print s Bobby -Original Message--

[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 p

Re: [python-win32] Module not found weirdness

2006-09-21 Thread Derick Van Niekerk
Since you're getting pywintypes.error rather than an import error, the function is actually called.  Most likely the app that created the window (wxPython) isn't responding correctory.  You might want tocheck if you have the same version of wx on both machines. Yep - both versions turned out to be