[Tutor] Reading Excel

alan.gauld@bt.com alan.gauld@bt.com
Fri, 11 Oct 2002 14:32:07 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2712A.98391C80
Content-Type: text/plain;
	charset="iso-8859-1"

 >  How might I read an Excel file using Python? 
 
You need Mark Hammonds win32 extensions.
 
They allow access to the Microsoft COM libraries 
and thence to Excel. He includes some very short examples in the
documentation.
 
Follow the links from the Python web site. Alternatively get 
the ActiveState version of Python with them ready bundled.
 
Alan g.
Author of the 'Learning to Program' web site
http://www.freenetpages.co.uk/hp/alan.gauld
<http://www.freenetpages.co.uk/hp/alan.gauld>  


------_=_NextPart_001_01C2712A.98391C80
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4807.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial><FONT size=2><SPAN class=260183813-11102002><FONT 
face="Courier New" color=#0000ff>&nbsp;&gt; &nbsp;</FONT></SPAN>How might I read 
an Excel file using Python?<SPAN class=260183813-11102002><FONT 
face="Courier New" color=#0000ff>&nbsp;</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=260183813-11102002></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=260183813-11102002><FONT 
face="Courier New" color=#0000ff>You need Mark Hammonds win32 
extensions.</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=260183813-11102002></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=260183813-11102002><FONT 
face="Courier New" color=#0000ff>They allow access to the Microsoft COM 
libraries</FONT>&nbsp;</SPAN></FONT></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=260183813-11102002>and thence to Excel. He includes some very short 
examples in the documentation.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=260183813-11102002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=260183813-11102002>Follow the links from the Python web site. 
Alternatively get </SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=260183813-11102002>the ActiveState version of Python with them ready 
bundled.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=260183813-11102002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
class=260183813-11102002>
<P><FONT size=2>Alan g.<BR>Author of the 'Learning to Program' web site<BR><A 
target=_blank 
href="http://www.freenetpages.co.uk/hp/alan.gauld">http://www.freenetpages.co.uk/hp/alan.gauld</A></FONT> 
</P></SPAN></FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C2712A.98391C80--