This might do what you want to achieve. It seems to make py2exe crash
on exit, some file locking error. Works fine otherwise though.
#!/usr/bin/env python
import sys
class LogBuffer:
def __init__(self):
pass
def flush(self):
sys.__stdout__.flush()
def write(s
Hi Garth,
I've been developing a py2exe app that dispatches a COM object since
iTunes 4 and I've seen this problem a bit.
I'm not exactly sure what causes it, I think in certain circumstances
the iTunes installer can fail to register the type library.
Reinstalling iTunes usually solves the
Hi,
I have a win32com application that dispatches a COM object, using
late or early binding and with events using win32com.client.WithEvents.
The application that is dispatched to sends an event when it is
quitting, leaving time for the client to disconnect from the COM
server. When this ev
Hi,
I have been successfully using iTunes' COM interface with Python
using either of the following lines:
iTunes = win32com.client.gencache.EnsureDispatch("iTunes.Application")
iTunes = win32com.client.Dispatch("iTunes.Application")
The only problem is that it will launch iTunes if it is not run