Python as a scripting language. Alternative to bash script?
Stefan Behnel
stefan_ml at behnel.de
Wed Jul 7 03:19:07 EDT 2010
John Nagle, 28.06.2010 19:57:
> Programs have "argv" and "argc", plus environment variables,
> going in. So, going in, there are essentially subroutine parameters.
> But all that comes back is an exit code. They should have had
> something similar coming back, with arguments to "exit()" returning
> the results. Then the "many small intercommunicating programs"
> concept would have worked much better.
Except that you just broke the simplicity of the pipe mechanism.
Stefan
More information about the Python-list
mailing list