I suppose os.path is simpler? It’s a string and operation.
Python is all about ‘attention efficiency,’ which there’s something to be said for. People taking the path of least resistance (instead of eating time learning the more complex/OOP pathlib) to bang out their script where they just need to move a file or something makes sense. I’m with you here, but it makes sense.
I always get irrationally angry when i see python code using os.path instead of pathlib. What is this, the nineties?
Make a PR
Be the change you want to see in the world.
What big advantages does pathlib provide? os.path works just fine
Just off the top of my head.
I suppose os.path is simpler? It’s a string and operation.
Python is all about ‘attention efficiency,’ which there’s something to be said for. People taking the path of least resistance (instead of eating time learning the more complex/OOP pathlib) to bang out their script where they just need to move a file or something makes sense. I’m with you here, but it makes sense.
…Also, os.path has much better Google SEO, heh.
if you don’t need those, why burden the program with another dependency?
It’s in the standard library, just like os or shutil.
And what’s with the string addition? Never heard of f-strings or even .format()?
deleted by creator