× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.

On Wed, Feb 15, 2023 at 4:59 PM Don Brown via MIDRANGE-L
<midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

Our current solution of checking and replacing the EOL character(s) is
working but is realy a brute force and ignorance solution.

It doesn't feel particularly brutish or ignorant to me. It's easy to
understand, straightforward to implement, and it works. I don't see
why you couldn't just keep using that approach for future downloads.

I don't know what code was added where, but if you are worried that
it's ugly, put it in a separate and reusable procedure or program if
you haven't done so already.

I am sure others have had this issue or will have so hopefully there is a
simple process providing the solution..

In my opinion, what you're already doing is simple and effective, and
doesn't really need to be replaced by something "better".

But if you *were* to replace it, my recommendation would be to go
whole hog and rewrite a lot of the larger process in Python or

By "larger process" I mean the downloading, the handling of line
endings if needed, and whatever it is that is reading the CSV. All of
that can be replaced by a single, relatively short Python script.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2023 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.