Word document accessing using python

castironpi at gmail.com castironpi at gmail.com
Wed Feb 13 23:19:05 CET 2008


On Feb 13, 12:07 pm, Juan_Pablo <jabar... at gmail.com> wrote:
> > import win32com.client
>
>  but, window32com.client is only functional in  windows

Excel can read XML.

<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
 <Worksheet ss:Name="Sheet1">
  <Table>
   <Row>
    <Cell><Data ss:Type="String">abc</Data></Cell>
    <Cell><Data ss:Type="Number">123</Data></Cell>
   </Row>
  </Table>
 </Worksheet>
</Workbook>

Word command line to save as text, or the reader from Microsoft?



More information about the Python-list mailing list