Add delete_files.py.

master
voussoir 2020-02-09 23:33:24 -08:00
parent af6176286c
commit c58b851427
1 changed files with 10 additions and 0 deletions

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)