<br><br><div class="gmail_quote">On 11 October 2010 14:37, Susana Iraiis Delgado Rodriguez <span dir="ltr">&lt;<a href="mailto:susana.delgado_s@utzmg.edu.mx">susana.delgado_s@utzmg.edu.mx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>The other question is about the excel files management, if I want to manipulate this data to work it in Excel should I look for an excel library in python right?</div><br></blockquote></div><br>Yes. I already mentioned one (in my view good) option in my original reply to you.   The xlwt module works quite well for generating Excel files (with expectable limitations) from any platform that Python&#39;s available on (e.g. including non-Windows.)  and thus does not require Excel to be available on the machine you&#39;re producing the file on.<br>
<br>If however you are running on Windows and have Excel installed, you could consider driving the real Excel via COM automation, which will guarantee you get desired results including formatting, charts etc, and will ensure you have full access to all the functionality Excel exposes via its COM object model.<br>
<br>If your requirements on the other hand simple enough then Joel&#39;s suggestion to use CSV is probably preferable.  (The KISS principle: &quot;Keep It Small &amp; Simple&quot;)<br><br>There&#39;s also the possibility to look into generating .xlsx files (e.g. XML based Office format files.)  Theoretically you should be able to generate the correctly structured XML independent of Excel and have it open in Excel.  I suspect that may be rather painful though (have never tried this myself) andam almost reluctant to even mention this option, so caveat emptor.<br>
<br>Walter<br>