On Tue, 29 Dec 2020 at 22:40, Eelke van den Bos <[email protected]> wrote: > > Hi Sergio, > > The pathlib module includes this feature: > https://docs.python.org/3/library/pathlib.html#pathlib.Path.unlink > > Best, > > Eelke
I add that it's quite common to skip FileNotFoundError in removing a file. I think it's the same because exist_ok was added to os.makedirs(). Can I try: a PR? _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/MUEIT2RPERM2IH52EWRBY3UILL4SWH2E/ Code of Conduct: http://python.org/psf/codeofconduct/
