Oddbean new post about | logout
 nostr:npub1uay3geenxplx736um2f9myu7mv6hnnmaz8ajdpguj3yeyr8r923sjrgycs nostr:npub19tgq7l8f27fdhmpprdvcaq8qmk49yrd50cap6lxm7adepzuwcnmssy0ysx 

Also, I fucked up. For this specific use-case it should be 

for name in names:
  Path(name).unlink(missingok=True)

If there isn't, it should be in a try-except just for correctness. Without it there is a very theoretical (given your use-case) race condition.