filmov
tv
how to check if a file is empty in python [TXT, CSV,XLSX]

Показать описание
⏲⏲⏲Timestamp ⏲⏲⏲
00:00 Beginning
01:24 File explanation
02:20 Directory path access
02:50 processing txt file
05:37 processing csv file ( Should be empty and not and reasons your code will throw errors)
08:30 processing csv file ( Proper logic to test properly for an empty file)
10:25 processing xlsx file
Blog posting:
################ Lets be Social! ##################
#python #emptyfile #dataanalytics