× 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 2/1/2021 2:06 PM, John Yeung wrote:
For the tasks you asked for, Python is not as concise as the
Unix-style commands, but probably much more readable (and to my eye,
more readable than the SQL as well).

Heh.  Just FYI, John, during my MkDocs adventure, I ended up writing some Python over the holidays. Not much, basically just extended an existing package, but it was interesting.  Took me a minute to understand the concept of raw string literals, but I figured it out.  Mostly I just had to write a bunch of regular expressions for a lexer (Pygments now understands RPG - a little).

I still have a little difficulty with "indent as control" but I really like how forgiving Python is for defining arrays.

Anyway, one of these days I'll clean my code up and submit it to the Open Source world.  :)



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.