0

How to remove created files?

I've a code what creates a copy files. How can I remove its? https://code.sololearn.com/cMz46Kkm7txq/?ref=app

3rd May 2019, 7:58 PM
Адель С
Адель С - avatar
2 Réponses
+ 2
You can simply use os.remove() or shutil.rmtree(). Be careful with these functions.
4th May 2019, 11:25 AM
couscous
0
Can I remove files only with '.copy' name?
4th May 2019, 11:35 AM
Адель С
Адель С - avatar