SwordInStone@lemmy.world to Python@programming.dev · edit-222 days agoYSK: there is a library called pathlib with different methods for accessing files which you might like since they do not require a context manager message-squaremessage-square9fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1message-squareYSK: there is a library called pathlib with different methods for accessing files which you might like since they do not require a context manager SwordInStone@lemmy.world to Python@programming.dev · edit-222 days agomessage-square9fedilinkfile-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-squareFred@programming.devlinkfedilinkarrow-up0·22 days agoThere was a discussion of pathlib a few days ago: https://programming.dev/post/21864360
minus-squareSwordInStone@lemmy.worldOPlinkfedilinkarrow-up0·22 days agosorry, I was looking for it today, which prompted me to create this post
There was a discussion of pathlib a few days ago: https://programming.dev/post/21864360
sorry, I was looking for it today, which prompted me to create this post