Oct 15th 2006.

 

We are a Research Group in Ergonomics and we have developed an application about ergonomics with Poser4 and python and now we are trying to work with Poser6.

 

In POSER 4 we installed py152_python152.exe and win32all-143.exe So we can import the module win32api and write directly in a Excel sheet.

This is very import for us. 

 

But, the instruction: import win32api, into Poser6 Python we get an error:

ImportError: DLL load failed: (it is not possible to find the process specificated)

 

We have installed: Python-2.2.3.exe and pywin32-210.win32-py2.2.exe.

 

We think that the problem is in the library python22.dll of Poser6 realease3. This is different of python22.dll of Python2.2.3 standard.

 

We only need to execute the Dispatch module. For example:

 

import win32api

from win32com.client import Dispatch

xlApp = Dispatch ("Excel.Application")

xlSheet = xlApp.Workbooks(motion_xls).Sheets("STD")

...

xlSheet.Range(xlSheet.Cells(6,30),xlSheet.Cells(500,30)).Value = None

xlSheet.Range(xlSheet.Cells(6,30),xlSheet.Cells(len_tupla+5,30)).Value = tupla

...

 

Does anybody help us in this question?

Truly it is very important for us.

 

Many thanks in advance.

 

Javier Marin

Universidad de Zaragoza.

E-mail: [EMAIL PROTECTED]

Web site: http://www.unizar.es/

 

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to