|
On Tue, Aug 16, 2022 at 3:57 PM Brad Stone <bvstone@xxxxxxxxx> wrote:
On Tue, Aug 16, 2022 at 2:52 PM Greg Wilburn <
gwilburn@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
1. If it is CSV, DO NOT ever open it with Excel - it trashes the data
Hmm... I've not seen this before. I don't use CSVs a lot, but when I
double click them Excel (from Office 365) seems to open them just fine.
There is a lot of nuance when talking about CSVs. Different people
have different ideas of what the rules for CSV should be. By some
people's rules, yeah, Excel "trashes" the data. It also doesn't
produce CSVs that fit their rules in the first place.
Most people these days acknowledge that Excel is one of the standard
tools in the business, like it or hate it, and the path of least
resistance is to just follow Excel's rules.
Also, if you need to handle arbitrary input (i.e. not input that you
have control over) then it really doesn't make sense to roll your own.
Use an established, battle-tested CSV library. The one that comes with
Python is great. I am sure there are others.
John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.