delete file from python cgi

Gilles Lenfant glenfant at NOSPAM.bigfoot.com
Thu Jul 10 17:40:25 CEST 2003


No direct connection with cgi...

import os
os.remove("/path/to/your/file.txt")

--Gilles





More information about the Python-list mailing list