Difference between revisions of "Using Python with Excel under Cygwin"

From PeformIQ Upgrade
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Overview=
=Overview=


It is convenient to use Windows OLE to open up Excel and inject data into it.  This can be done for both PERL and Ruby using the Cygwin versions of these scripting languages.  However, for Python you need to use pywin32 - and this will not build under Cygwin because of the lack of the _winreg module.  It can be used with Windows native versions of Python from [http://www.python.org/download/releases/ python.org] and also [http://www.activestate.com/activepython/ Python].
It is convenient to use Windows OLE to open up Excel and inject data into it.  This can be done for both PERL and Ruby using the Cygwin versions of these scripting languages.  However, for Python you need to use pywin32 - and this will not build under Cygwin because of the lack of the _winreg module.  It can be used with Windows native versions of Python from [http://www.python.org/download/releases/ python.org] and also [http://www.activestate.com/activepython/ ActiveState Python].
 
=Working Notes=
 
=Internal References=
 
* [[Python COM Examples]]
* [[Winreg]]
* [[winreg.py]]
 


=References=
=References=
Line 12: Line 21:
[[Category:Cygwin]]
[[Category:Cygwin]]
[[Category:Excel]]
[[Category:Excel]]
[[Category:PyWin]]
[[Category:Microsoft Office Automation]]

Latest revision as of 10:23, 12 March 2010

Overview

It is convenient to use Windows OLE to open up Excel and inject data into it. This can be done for both PERL and Ruby using the Cygwin versions of these scripting languages. However, for Python you need to use pywin32 - and this will not build under Cygwin because of the lack of the _winreg module. It can be used with Windows native versions of Python from python.org and also ActiveState Python.

Working Notes

Internal References


References

Also see: