by johnchristopher · 4y ago · 0 comments
> print(os.path.exists("ssh://user@rsync.net:fileThatExists"))
That's just invoking the whole jungle when all you want is a banana.
I did say Python-esque (I do get that Python in particular has a lot of stuff in its prelude). Really if you want to be super pedantic then the most "banana"-y isn't a line in your shell but some C library calls on both sides of the system.
It doesn't crash because I forgot to import os ?