Login
Remember
Register
Ask a Question
Explain how to delete a file in Python?
0
votes
asked
Jan 1, 2021
in
Python
by
SakshiSharma
Can you please Explain how to delete a file in Python?
#python-delete-file
Python-questions-answers
Please
log in
or
register
to answer this question.
2
Answers
0
votes
answered
Jan 1, 2021
by
SakshiSharma
By using a command os.remove (filename) or os.unlink(filename)
0
votes
answered
Feb 14, 2021
by
SakshiSharma
Files can be deleted in Python by using the command os.remove (filename)
or os.unlink(filename)
...