Filter/remove empty lists Python

Not sure, but I think you should search for something like ‘python grasshopper build data tree’.