Wrap a function
Aahz
aahz at pythoncraft.com
Thu Feb 4 19:18:04 EST 2010
In article <mailman.1885.1265261952.28905.python-list at python.org>,
Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:
>On 3 Feb 2010 08:38:47 -0800, aahz at pythoncraft.com (Aahz) declaimed the
>following in gmane.comp.python.general:
>> In article <mailman.1585.1264743912.28905.python-list at python.org>,
>> Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:
>>>
>>> I shall blaspheme, and suggest that maybe the language you want to
>>>use is REXX (ooREXX or Regina).
>>>
>>> By default, ANY statement that can not be confused for a REXX
>>>language statement is sent to the currently defined command handler
>>>(Which on most OSs is equivalent to Python's os.system() call; the late
>>>Amiga, and IBM's mainframe OS had features that support defining other
>>>applications as command handlers).
>>
>> How is that different from bash scripting?
>
> Uhm... Does a bash script support inlining statements from some
>other language?
>
> Python's shutil library essentially disappears in REXX as one can
>plug in the native command line statement for those functions.
But in bash scripting, you'd just use rsync or cp or rm -- maybe an
example would make clearer how REXX differs from bash.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
import antigravity
More information about the Python-list
mailing list