Christian Gollwitzer <aurio...@gmx.de>: > Have a look at PowerShell. It's not Python, and it is from MS - but it > works along those lines, passing .NET objects through the pipe. Owing > to that, instead of $2=="something" in the awk progra, you can address > the field(attribute) $2 by the correct name instead of a positional > argument.
Requirements for what I have in mind: 1. It would have to be and feel like real Python. 2. External commands should be available as callable Python functions. 3. Functions/commands should return streams. (Generators, maybe?) 4. Pipelines should have an intuitive syntax (but still be valid Python). Requirements 3 and 4 apply to regular Python code as well. Marko -- https://mail.python.org/mailman/listinfo/python-list