× 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 Sat, Apr 20, 2019 at 3:38 PM Richard Schoen <richard@xxxxxxxxxxxxxxxxx>
wrote:

OK, the Python command wrapper library and source has been posted on
Github as a SAVF.


Very interesting, excellent work, and now some quibbles:

- Somewhat elaborate in attempting a generalized CL launcher for Python
progs that makes using it fairly complicated.
- Very many parameters the user has to sort through.
- The defaults in simply running a Python program via QSH are often
correct.
- No provision is made for output parameters back into CL.
- We've discussed this at length on this list
- Several design patterns for that have been proposed
- I'll show two at COMMON

Overall, it's a good tutorial exercise. But instead of handing folks a
whale, it would be nice if they'd learn to fish for trout themselves. It's
very easy to call Python from CL and also to return values back into CL
params from Python. There are a few tricks around quoting for the shell,
etc., but overall, understanding the design pattern is likely to be more
useful on the ground and in the long run than learning to use a script
which attempts (and comes up short of) solving every problem.

I believe, Richard Schoen, you will be at COMMON next month. We should
attend each other's sessions and compare notes and maybe do some impromptu
discussion groups with other users.

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.