[python-win32] Pywin32 GUI not working with pythonw

2009-11-09 Thread Greg Ewing
I have a bizarre problem. The following program: import win32ui app = win32ui.GetApp() app.Run() works fine when run from a command window using python.exe -- it happily sits there waiting for events until I kill it with the task manager. However, if I run it using pythonw.exe, the GetApp() cal

Re: [python-win32] Unmuting the Microphone

2009-11-09 Thread Tim Roberts
Mike Driscoll wrote: > > I received a request to un-mute the microphone on Windows XP. I've > looked around online and all I've seen are people recommending ctypes, > but no examples (in Python). I did find this C++ code, but I can't > tell if if just toggles mute or allows the programmer to specif

[python-win32] Unmuting the Microphone

2009-11-09 Thread Mike Driscoll
Hi, I received a request to un-mute the microphone on Windows XP. I've looked around online and all I've seen are people recommending ctypes, but no examples (in Python). I did find this C++ code, but I can't tell if if just toggles mute or allows the programmer to specify that they want the

Re: [python-win32] completely removing python from windows

2009-11-09 Thread Vernon Cole
I believe that if you re-install 2.6 you will find that the definition of "python" will be changed by the installer. I typically have four or five versions of python on my workstation, and I run in to this problem frequently. So I usually put a "python.bat" file in a utility folder (which is relat

[python-win32] completely removing python from windows

2009-11-09 Thread Ronny Herzog
Dear users, I want to remove Python 2.5 from my Windows Vista in favor of Python 2.6. I installed 2.6 already and used the Python2.5 uninstaller to remove the old version. But when I type 'python' in the command line, the Python 2.5 shell is opened. What do I have to do to completely remove

Re: [python-win32] Interest for patch enabling building egg ?

2009-11-09 Thread Mark Hammond
On 9/11/2009 11:16 PM, David Cournapeau wrote: Hi Mark, On Mon, Nov 9, 2009 at 7:49 PM, Mark Hammond wrote: Sorry for the delay, No problem. Is it possible to just have 'setup.py bdist_egg' do the right thing without the new setupegg.py? It may be difficult. Avoiding the setupegg.py i

Re: [python-win32] Interest for patch enabling building egg ?

2009-11-09 Thread David Cournapeau
Hi Mark, On Mon, Nov 9, 2009 at 7:49 PM, Mark Hammond wrote: > Sorry for the delay, No problem. >  Is it possible to just have 'setup.py bdist_egg' do the right thing without > the new setupegg.py? It may be difficult. Avoiding the setupegg.py is no issue, but then it forces you to use setupt

[python-win32] closing not response win32 IE com interface

2009-11-09 Thread elca
hello All, these day im making some script that use win32 IE com interface. one of problem is , my internet line is very slow, so sometimes my IE.navigate("http://www.example.com";) not response timely. it looks hang and open status, not complete status. so my IE.navigate function is not correctly

Re: [python-win32] Interest for patch enabling building egg ?

2009-11-09 Thread Mark Hammond
On 4/11/2009 1:15 AM, David Cournapeau wrote: (sorry for having forgotten to CC the list the first time) On 2/11/2009 6:34 PM, David Cournapeau wrote: The way I did was similar to what we do in numpy, that is setup.py is still using distutils by default, but if you call setupegg.py, you get

Re: [python-win32] More win32com woes: Wrapping COM objects

2009-11-09 Thread Mark Hammond
On 6/11/2009 11:09 AM, Celvin wrote: ... class application(object): def __init__(self): self.__com_obj = DispatchWithEvents("{GUID}", event_handler) self.__objects = [] def register(self, obj): self.__objects.append(obj) Basically, I'm trying to manage a lis

Re: [python-win32] multiprocessing pickle problem in win32

2009-11-09 Thread Bilokon, Paul
Many thanks for your reply, Mark. I'll try your suggestion. Best wishes, Paul -Original Message- From: Mark Hammond [mailto:mhamm...@skippinet.com.au] Sent: 06 November 2009 23:01 To: Bilokon, Paul [ICG-MKTS] Cc: 'python-win32@python.org'; Moudry, Jiri George [ICG-MKTS]; Adams, Lyndon [I