
@bbelderbos Usually always "from pathlib import Path". The reason: explicit dependencies.
Now the top of the module shows that I depend on the class "Path" but on nothing else from "pathlib".
English
Gregor Müllegger
1.3K posts

@gregmuellegger
Software Engineer, Architect, Data Analyst. Enjoying Python, Django & React. I love solving hard problems. Mainly naming things the right way though.
















Some people really benefit from hearing advice that everyone knows, for the same reason we keep schools open despite every subject in them having been taught before. In that spirit, here's some quick Things Many People Find Too Obvious To Have Told You Already.




