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 <
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.
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,
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
Help support midrange.com by shopping at amazon.com with our affiliate
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.