[python-win32] Win32com , how select coclass interface?

2006-10-18 Thread e8micke
Hi! I have a DLL that have several interfaces accociated with a CoClass, but there is one default interface. snip from my genpy generated .py file: -- from win32com.client import CoClassBaseClass # This CoClass is known by the name 'BK.BasicEnv.Application.RemoteAPI'

[python-win32] killProcName kinda slow

2006-10-18 Thread Axiom X11
I am trying to use the killProcName function in a project, and it does work, but it is kinda slow. Just running it alone has the same effect C:\killProcName.py notepad (wait for about 30 seconds) Killed notepad Is there any way to do this faster? Or is there another function I should be

Re: [python-win32] killProcName kinda slow

2006-10-18 Thread Tim Roberts
Axiom X11 wrote: I am trying to use the killProcName function in a project, and it does work, but it is kinda slow. Just running it alone has the same effect C:\killProcName.py notepad (wait for about 30 seconds) Killed notepad Is there any way to do this faster? Or is there another function

[python-win32] Calling a subprocess with spaces in the path

2006-10-18 Thread Axiom X11
I am trying to run a command as a subprocess, and it keeps choking on the spaces. import subprocesss = 'vlc C:\\Documents and Settings\\bk\\Documents\\Resources\\WORKINPR2001.mpeg :sout=\#duplicate{dst=display,dst=std{access=udp,mux=ts,dst=224.0.0.0:1234 }}

Re: [python-win32] Calling a subprocess with spaces in the path

2006-10-18 Thread Gabriel Genellina
At Wednesday 18/10/2006 17:43, Axiom X11 wrote: I am trying to run a command as a subprocess, and it keeps choking on the spaces. import subprocess s = 'vlc C:\\Documents and Settings\\bk\\Documents\\Resources\\WORKINPR2001.mpeg