× 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.



You’re turning me off Justin - that looks more like write only code than “elegant”.

I guess I’ll get used to it but …


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jul 14, 2015, at 5:00 PM, Justin Dearing <zippy1981@xxxxxxxxx> wrote:

That being said, some of its features like list and dictionary
comprehensions let you write elegant loops that are on par with the
succinctness of .NET LINQ. i.e {var: os.environ[var] for var in os.environ}
turns all your environment variables into a dictionary/


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.