[CentralOH] Python[, CSV,] and Excel

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Mon Feb 23 00:31:44 CET 2015


On Sun, 22 Feb 2015 17:53:12 -0500, Kyle Williamson <williamsonkr at gmail.com> wrote:

> Need some opinions on what everyone is using in Python to work 
> with CSV files.

We use the csv module. 

One can often easily find the dox with useful examples by
searching for python and whatever it is that you are messing 
with. For example, 

    https://duckduckgo.com/html/?q=python+csv
    https://duckduckgo.com/html/?q=python+csv+excel

quickly lead to the relevant dox.

Context managers are nifty. Use them.
Examples of such are in the dox.

You mentioned Excel but not CSV in the Subject 
and CSV but not Excel in the body of your letter.
You might be interested in the excel and excel_tab dialects.


More information about the CentralOH mailing list