COM access sooo slow !?

2005-08-13 Thread kowald
Hi everybody, I'm using win32com.client.Dispatch() to access a COM object (a database) from Python and in principle is works fine. However, it is unbelievably slow :-( It is 70 times slower than a C++ version of the same program ! Is this a well known problem of the Python COM interface or could

starting windows program from python based on file extension ?

2005-03-03 Thread kowald
Hi everybody, I used python to build a HTML file and now I would like to automatically start my browser to display this file. I guess I could use os.system(), but then I had to specify a specific path to the browser. I wonder if it is possible to tell windows to open "myFile.html" using the progr