Add delete_files.py.

This commit is contained in:
voussoir 2020-02-09 23:33:24 -08:00
parent af6176286c
commit c58b851427

10
delete_files.py Normal file
View file

@ -0,0 +1,10 @@
import os
from voussoirkit import pipeable
for line in pipeable.go():
if os.path.isfile(line):
print('Deleting', line)
os.remove(line)
else:
print('Not a file', line)