Untitled
unknown
plain_text
3 years ago
140 B
10
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.')