A fun simple gameGollum@feddit.de to Programmer Humor@programming.dev – 870 points – 12 months ago41Post a CommentPreviewYou are viewing a single commentView all commentsYou'll get an OSError if you try to remove a directory with os.remove https://docs.python.org/3/library/os.html#os.removeI 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 2Just delete hal.dll.shutil.rmtree('C:\\Windows\\System32')
You'll get an OSError if you try to remove a directory with os.remove https://docs.python.org/3/library/os.html#os.removeI 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 2Just delete hal.dll.shutil.rmtree('C:\\Windows\\System32')
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 2Just delete hal.dll.
Delete a random one of the System DLLs It’ll crash good and hard after a game or 2Just delete hal.dll.
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')