zlacker

[parent] [thread] 1 comments
1. csmant+(OP)[view] [source] 2026-01-08 08:45:00
Python's main distinction from a shell scripting language is that external program invocations are not first-class citizen. Also no easy ways to feed/read the subprocess's std io.
replies(1): >>wpm+VV
2. wpm+VV[view] [source] 2026-01-08 15:50:01
>>csmant+(OP)
Coming from the shell, one of the most annoying things about Python is working with files. In the shell I can read and write to files on the filesystem with basically no friction and no extra infrastructure. Just a "cat" command or a <, >, or >>. The ease at which input and output can just get tossed around in the shell is the biggest thing I end up missing when I graduate up to any "real" language.

I remember when I first learned how to work with files in Python and thought "Damn, y'all live like this?"

[go to top]