Gollum@feddit.de to Programmer Humor@programming.dev · 9 months agoA fun simple gamei.imgur.comimagemessage-square23fedilinkarrow-up1413arrow-down110
arrow-up1403arrow-down1imageA fun simple gamei.imgur.comGollum@feddit.de to Programmer Humor@programming.dev · 9 months agomessage-square23fedilink
minus-squareSynthead@lemmy.worldlinkfedilinkarrow-up35·9 months agoYou’ll get an OSError if you try to remove a directory with os.remove https://docs.python.org/3/library/os.html#os.remove
minus-squareKairuByte@lemmy.dbzer0.comlinkfedilinkarrow-up20·9 months agoI was gonna say, isn’t os.remove only for files? Docs say yes.
You’ll get an OSError if you try to remove a directory with os.remove
https://docs.python.org/3/library/os.html#os.remove
I was gonna say, isn’t os.remove only for files? Docs say yes.