Gollum to Programmer [email protected] • 1 year agoA fun simple gamei.imgur.comimagemessage-square41fedilinkarrow-up1905arrow-down120
arrow-up1885arrow-down1imageA fun simple gamei.imgur.comGollum to Programmer [email protected] • 1 year agomessage-square41fedilink
minus-square@[email protected]linkfedilink56•1 year 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-square@[email protected]linkfedilink28•1 year agoI was gonna say, isn’t os.remove only for files? Docs say yes.
minus-square@[email protected]linkfedilink8•1 year agoDelete a random one of the System DLLs It’ll crash good and hard after a game or 2
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.
Delete a random one of the System DLLs
It’ll crash good and hard after a game or 2
Just delete hal.dll.
shutil.rmtree('C:\\Windows\\System32')