Aug-06-2019, 07:34 AM
Is this what do you need?
a = "absbdbs" b = "dcfdss" c = "edfsds" line = "{}\t{}\t{}\n".format(a, b, c) with open("foo.log", "a") as f: f.write(line)