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 Answers
+ 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