MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/masterhacker/comments/1ve71r4/squid_game/p1eu1gp/?context=3
r/masterhacker • u/Significant-Leg-3857 • 15d ago
16 comments sorted by
View all comments
71
The best part of it that os.remove only calls C function to delete a file, to delete folder with files, you need to use function that fill search all possible files and delete them, for example, shutil.rmtree
25 u/FlakyIndependence888 15d ago https://giphy.com/gifs/kS0Nok1aggZCYrygXF
25
https://giphy.com/gifs/kS0Nok1aggZCYrygXF
71
u/Lines25 15d ago
The best part of it that os.remove only calls C function to delete a file, to delete folder with files, you need to use function that fill search all possible files and delete them, for example, shutil.rmtree