[EMAIL PROTECTED] wrote:
>  I am tring to work on Excel File through python. 
>
>  I am using Python 2.4.2 and work on xp with an administration authorization. 
>   
>  I implimented like that: 
>   
>  *********************************************************
>  * 
>  ** 
>  ... 
>  import win32com.client 
>  ... 
>  class Python_skript(Object): 
>   
>     def __init__(self, fileName=None): 
>        self.xlapp = win32com.client.dynamic.Dispatch("Excel.Application") 
>        if fileName: 
>           self.xlbook = self.xlapp.Workbooks.Open(fileName) 
>        else: 
>           self.xlbook = self.xlapp.Workbooks.Add() ... 
>  **********************************************************
>  
>   
>  I got the error message: "ImportError: No system modul 'pythoncom' 
> (pythoncom24.dll)"
>
>  Although the file pythoncom24.dll does exist. 
>   

It must do more than "exist", of course.  It must be in the right spot. 
How did you install pywin32?  Where does it exist?  And what does this say?
    import sys
    print sys.path

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

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

Reply via email to