You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>This site contains pointers to the best information available about working with <ahref="https://products.office.com/en-us/excel">Excel</a> files in the <ahref="http://www.python.org/">Python</a> programming language.</p>
20
+
<h2>Reading and Writing Excel Files</h2>
21
+
<p>There are python packages available to work with Excel files that will run on any Python platform and that do not require either Windows or Excel to be used. They are fast, reliable and open source:</p>
22
+
<h3>openpyxl</h3>
23
+
<p>The recommended package for reading and writing Excel 2010 files (ie: .xlsx)</p>
<p>Library with a unified api for reading and writing files with older Excel format (xls), Excel 2010 format (xlsx), OpenDocument Spreadsheet format (ods), and many others.</p>
<p>This package collects utilities that require both <code>xlrd</code> and <code>xlwt</code>, including the ability to copy and modify or filter existing excel files.</p>
45
+
<p><em><strong>NB:</strong> In general, these use cases are now covered by openpyxl!</em></p>
<p>The following products can be used to write Excel add-ins in Python. Unlike the reader and writer packages, they require an installation of Microsoft Excel.</p>
49
+
<h3>PyXLL</h3>
50
+
<p>PyXLL is a commercial product that enables writing Excel add-ins in Python with no VBA. Python functions can be exposed as
51
+
worksheet functions (UDFs), macros, menus and ribbon tool bars.</p>
<p>xlwings is an open-source library to automate Excel with Python instead of VBA and works on Windows and macOS: you can call Python from Excel and vice versa and write UDFs in Python (Windows only). xlwings PRO is a commercial add-on with additional functionality.</p>
<p>There is a <ahref="http://groups.google.com/group/python-excel">Google Group</a> dedicated to working with Excel files in Python, including the libraries listed above along with manipulating the Excel application via COM. </p>
58
+
<h2>Commercial Development</h2>
59
+
<p>The following companies can provide commercial software development and consultancy and are specialists in working with Excel files in Python:</p>
60
+
<divclass="affiliate-links"></div>
61
+
62
+
<table>
63
+
<thead>
64
+
<tr>
65
+
<th><ahref="http://www.clark-consulting.eu/"><imgalt="Clark Consulting & Research" src="images/ccr_python_excel.png"></a></th>
66
+
</tr>
67
+
</thead>
68
+
<tbody>
69
+
<tr>
70
+
<td><ahref="http://www.clark-consulting.eu/">Clark Consulting & Research</a></td>
71
+
</tr>
72
+
</tbody>
73
+
</table>
74
+
75
+
</div>
76
+
<divclass="footer">
77
+
<footerid="contentinfo" class="body">
78
+
<addressid="about" class="vcard body">
79
+
Proudly powered by <ahref="https://getpelican.com/">Pelican</a>,
80
+
which takes great advantage of <ahref="https://www.python.org/">Python</a>.
0 commit comments