Relative Content

Tag Archive for pythondataframeglob

How to exclude file less than x kB from a group read by glob

I think it’s very simple but I can’t figure it out.
In a python program to plot science meteo data I need to exclude some file of a list of text file.
I have hundred of file downloaded from a datalogger on the field. Sometimes the LTE link is degraded and instead of receiving a normal text file with normal header, I’ve something looklike HMTL (because I’m downling file with an URL API, an unreadable file could result in a sort of 404 error page downloaded, I guess).