shutil.rmtree(‘C:\Windows\System32’)
Comment on A fun simple game
Synthead@lemmy.world 1 year ago
You’ll get an OSError if you try to remove a directory with os.remove
CivBase@lemmy.world 1 year ago
Comment on A fun simple game
Synthead@lemmy.world 1 year ago
You’ll get an OSError if you try to remove a directory with os.remove
shutil.rmtree(‘C:\Windows\System32’)
KairuByte@lemmy.dbzer0.com 1 year ago
I was gonna say, isn’t os.remove only for files? Docs say yes.
Zron@lemmy.world 1 year ago
Delete a random one of the System DLLs
It’ll crash good and hard after a game or 2
yum13241@lemm.ee 1 year ago
Just delete hal.dll.