Op 10/10/2022 om 04:38 schreef avi.e.gr...@gmail.com:
[This is an answer for Peter and can easily be skipped by those who know or have no wish to.] Strictly speaking Peter, the word "pipe" may not mean quite something in Python but other concepts like chaining may be better. The original use of the word I am used to was at the UNIX shell level where an in-core data structure called a pipe was used to connect the output of one process to the inputr of another, sometimes in long chains like: cat file1 file2 file3 | grep pattern | ... | lp
Something like that can be done in python with the same kind of syntax: https://code.activestate.com/recipes/580625-collection-pipeline-in-python/ I have my own python3 module with stuff like that and I find it very usefull. -- Antoon Pardon -- https://mail.python.org/mailman/listinfo/python-list