Re: [python-win32] Module not found weirdness

2006-09-20 Thread Derick Van Niekerk
You might try running the dependency walker onsite-packages/win32/win32clipboard.pyd just in case, but I suspect you won't find anything.I don't know how...yet :) win32clipboard.SetClipboardViewer is a function inside ofwin32clipboard.pyd, which is a DLL in the Python directory.  It,eventually, ca

Re: [python-win32] Module not found weirdness

2006-09-20 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.I never even thought of that... I insta

[python-win32] Trying to run an external program

2006-09-20 Thread Brant Sears
Hi. I'm new to Python and I am trying to use it on Windows XP. I am trying to use it to replicate the same thing that I do on Linux and Mac via shell scripting (Batch files aren't powerful enough, so I've decided to try to use Python.) What I want to do is execute a program and have the results

Re: [python-win32] Trying to run an external program

2006-09-20 Thread John Machin
On 21/09/2006 8:03 AM, Brant Sears wrote: > Hi. I'm new to Python and I am trying to use it on Windows XP. I am trying to > use it to replicate the same thing that I do on Linux and Mac via shell > scripting (Batch files aren't powerful enough, so I've decided to try to use > Python.) > > What

[python-win32] Trying to run an external program

2006-09-20 Thread Roger Upole
Brant Sears wrote: > Hi. I'm new to Python and I am trying to use it on Windows XP. I am trying to > use it to replicate the same thing that I do on > Linux and Mac via shell scripting (Batch files aren't powerful enough, so > I've decided to try to use Python.) > > What I want to do is execute

[python-win32] How to launch acrobat with data

2006-09-20 Thread Roger Upole
Andrew Diederich wrote: > Hello python-win32, > > I'm storing some Adobe forms (application/vnd.fdf) in a database. > Using ADODBAPI I've been able to pull the data out. Does anyone know > how I can launch Adobe Acrobat with the data? > > Here's how I get the data: import adodbapi > c

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

2006-09-20 Thread Ken Channing
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: Use makepy -i to generate a file from the typelib containing the interface definition. In my case the file generated is named: