Openpyxl cell format

Lele Gaifax lele at metapensiero.it
Mon Jun 5 07:16:35 EDT 2017


Mahmood Naderan via Python-list <python-list at python.org> writes:

> Maybe... But specifically in my case, the excel file is exported from a web
> page. I think there should be a way to read the content as a pure text.

I think that openpyxl isn't doing any heuristic translation on cell's
content, but I could be wrong: I bet that the cell is marked as containing a
datetime value, and that's what you are getting.

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele at metapensiero.it  |                 -- Fortunato Depero, 1929.




More information about the Python-list mailing list