Use "\n": file.write("My String\n") See the Python manual for reference. ... #subclass file to have a more convienient use of writeline.
確定! 回上一頁