Unix pipeline syntax for Python