Luis Norambuena@programming.devM to Python@programming.devEnglish · 1 month agoPython's pathlib modulewww.pythonmorsels.comexternal-linkmessage-square10fedilinkarrow-up119arrow-down10file-text
arrow-up119arrow-down1external-linkPython's pathlib modulewww.pythonmorsels.comLuis Norambuena@programming.devM to Python@programming.devEnglish · 1 month agomessage-square10fedilinkfile-text
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up1·1 month agoDon’t forget about the helper functions mypath.read_text() and mypath.write_text(content)
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up1·1 month agothat’s already in the cheatsheet
Don’t forget about the helper functions
mypath.read_text()
andmypath.write_text(content)
that’s already in the cheatsheet