![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
In perl you can use <> to mean "read one line at a time from each file in ARGV or just stdin if no files are listed". It is wonderful because in 2 keystrokes you get functionality that is similar to how Unix tools like cat, grep, and many others work.
Is there a similar thing in Python? I can't find it.
Tom
Is there a similar thing in Python? I can't find it.
Tom