<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 03:35:06 +0000</lastBuildDate>
    <item>
      <title>(Python) Create Excel file with xlwt and insert in Flask response valid for jquery.fileDownload - doronhor</title>
      <link>https://snipplr.com/view/69344/create-excel-file-with-xlwt-and-insert-in-flask-response-valid-for-jqueryfiledownload</link>
      <description>&lt;p&gt;A combinations of 3 technologies.&#13;
Needed to create Excel files within a Python Flask web framework environment and have it sent via HTTP to client to be handled by the jquery.fileDownload library.&#13;
&#13;
Notes:&#13;
1. Flask has to set a cookie specified by jquery.fileDownload&#13;
2. Divided code into blocks of code that can be maybe reusable in functions&#13;
3. 'app' is not declared but it is obvious a Flask application object&#13;
&#13;
relevant projects:&#13;
1.  http://flask.pocoo.org/&#13;
2. pypi.python.org/pypi/xlwt and www.python-excel.org/&#13;
3. https://github.com/johnculviner/jquery.fileDownload&lt;/p&gt;</description>
      <pubDate>Fri, 04 Jan 2013 02:46:09 UTC</pubDate>
      <guid>https://snipplr.com/view/69344/create-excel-file-with-xlwt-and-insert-in-flask-response-valid-for-jqueryfiledownload</guid>
    </item>
  </channel>
</rss>
