human
I wrote the below code

    def boolStr(b):
        if b:
            return 'true'
        return 'false'
    for etld in getEffectiveTLDs(effective_tld_filename):
        exception = boolStr(etld.exception())
        wild = boolStr(etld.wild())
        output.write(('ETLD_ENTRY("%s",    %s,    %s)\n' % (etld.domain(), exception, wild)))

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def main(output, effective_tld_filename):