Hello, 
 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. 
  
 Can anyone help? 
  
 Many Thanx! 

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

Reply via email to