SwordInStone@lemmy.world to Python@programming.dev · edit-27 hours agoYSK: there is a library called pathlib with less stupid methods for accessing filesmessage-squaremessage-square8fedilinkarrow-up121arrow-down114file-text
arrow-up17arrow-down1message-squareYSK: there is a library called pathlib with less stupid methods for accessing filesSwordInStone@lemmy.world to Python@programming.dev · edit-27 hours agomessage-square8fedilinkfile-text
https://docs.python.org/3/library/pathlib.html I’m creating this post mainly so that I don’t forget the name again.
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up3·10 hours agoos/os.path functions are named after their C counterparts.
os
/os.path
functions are named after their C counterparts.