|
From: John Yeung <gallium.arsenide@xxxxxxxxx>list
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 11/16/2016 05:17 PM
Subject: Re: Quoting text strings for SCV output
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
On Wed, Nov 16, 2016 at 5:38 PM, Roger Harman
<roger.harman@xxxxxxxxxxx> wrote:
Wouldn't the csv module be a workable solution?
Yes, which is why I injected Python into the thread. The CSV module in
Python's standard library can read or write either Excel-dialect CSV
or OP's mandatory-double-quoted-string dialect.
To minimize reworking of OP's existing tools (which generate .xls or
.xlsx) and eliminate the Excel program itself (as a .xls(x)-to-.csv
translator), Python could be used to read the workbook directly (and
quite trivially), using the xlrd third-party module.
John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxquestions.
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
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.