+ 2

Deletion of file in python

Please can someone explain to me. How can i delete a file in python?

29th Nov 2019, 4:31 PM
Isaiah Egbokhan
Isaiah Egbokhan - avatar
4 Answers
+ 2
Thanks
30th Nov 2019, 3:32 PM
Isaiah Egbokhan
Isaiah Egbokhan - avatar
+ 1
Hi. Try to Google it 👍
29th Nov 2019, 5:17 PM
Dmytro Novak
Dmytro Novak - avatar
29th Nov 2019, 5:38 PM
smrmodares
smrmodares - avatar
+ 1
with os library os.remove("/path-to-file")
29th Nov 2019, 5:38 PM
Sahand Jalali
Sahand Jalali - avatar