SwordInStone@lemmy.world to Python@programming.dev · edit-22 months 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-square10fedilinkarrow-up128arrow-down114file-text
arrow-up114arrow-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-22 months agomessage-square10fedilinkfile-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-squareFizzyOrange@programming.devlinkfedilinkarrow-up2·2 months agoThey still messed up the default encoding though unfortunately.
They still messed up the default encoding though unfortunately.
😢