Muốn xóa một file trong Python thì làm sao?

{{FormatNumbertoThousand(model.total_like)}} lượt thích
567 lượt xem
Python basic

Sử dụng lệnh os.remove(file_name) hoặc os.unlink(file_name).

{{login.error}}