Hi,
I want to use win32com.client in a python
script which I wish to access as an External Method. When I run the script outside of Zope, it works fine. Then I add a method declaration, and try
to add the same script as an extenal method and I get the following error:
Error Type: ImportError
Error Value: No module named pythoncom
The import statements look like this:
import pythoncom
import win32com.client
When I run outside Zope, I don’t actually
need to import pythoncom.
I downloaded COMObject-1.0.1-nonbin.tgz and
took a look at what I may need to do to get it working (figured that if I could
get this to work, my problem would be solved). The following is from the
README.txt:
“Probably the easiest way to get the win32
extensions working with Zope is to use your own Python, rather than the Python
that comes with Zope.”
If this is what I have to do, then how? I’ve looked for anything on this, but
it’s not the easiest thing to search for.
If I do this, will I still be able to access the things I have added in
the \Zope\lib\python\Products, such as TinyTable, Calendar and ZGDChart?
Thanks for any help,
Micheál
Micheál
Healy
Engitech Ltd.
01 6204 516