def print_string(s, f):
    f.write('"')
    f.write(''.join((escape(c) for c in s)))
    f.write('"')
def print_string(s, f):
    f.write('"')
    f.write(.join((escape(c) for c in s)))
    f.write('"')