Untitled
unknown
plain_text
2 years ago
140 B
9
Indexable
if os.stat(OUTPUT_FILE_PATH).st_size == 0:
os.remove(OUTPUT_FILE_PATH)
print('Output file is empty and has been deleted.')Editor is loading...
if os.stat(OUTPUT_FILE_PATH).st_size == 0:
os.remove(OUTPUT_FILE_PATH)
print('Output file is empty and has been deleted.')