#kreis academy file操作

with open('./file/withopen.txt', 'w') as f:
    f.write("abc\n")
    f.write("def")

# st = """\
# abcdefghijklm
# nopqrstuvwxyz
#
# """
# with open('./file/withopen.txt', 'w') as f:
#     f.write(st)