def writeLines(outfile, lines, header=False):
    handle = openFile(outfile, "w")

    if header:
        handle.write("\t".join([str(title) for title in header]) + "\n")

    for line in lines:
        handle.write("\t".join([str(field) for field in line]) + "\n")

    handle.close()
Return function name of `x` (if defined) else the `type(x)`.
dataset/ETHPy150Open CGATOxford/cgat/CGAT/IOTools.py/writeLines--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/utilities/misc.py/func_name