[Python-ideas] shutil.runret and shutil.runout
Nick Coghlan
ncoghlan at gmail.com
Sun Feb 26 12:46:33 CET 2012
On Sun, Feb 26, 2012 at 6:53 PM, Eli Bendersky <eliben at gmail.com> wrote:
> The Chef/Puppet/Fabric example is a good one to support this point - Ruby,
> like Python is also more a dev language than a sysadmin language, and yet
> Chef & Puppet are written in Ruby and not Perl.
For the key operation I'm talking about here, though, Ruby works the
same way Perl does: it supports shell command execution via backtick
quoted strings with implicit string interpolation.
Is it really that hard to admit that there are some tasks that other
languages are currently just plain better for than Python, and perhaps
we can learn something useful from that? (And no, I'm not suggesting
we adopt backtick command execution or implicit string interpolation.
A convenience API that combines shell invocation, explicit string
interpolation and whitespace and shell metacharacter quoting, though,
*that* I support).
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-ideas
mailing list