1 2 3 4 5 6 7 8 9 10
import os def clear_folder(folder): for the_file in os.listdir(folder): file_path = os.path.join(folder, the_file) try: if os.path.isfile(file_path): os.unlink(file_path) except Exception, e: print e
Loggerhead is a web-based interface for Breezy Version: 2.0.1