open the file in append mode fo = open("example1.txt","a") fo.write("I like Python") fo.close(). If you want you can read and display it.
確定! 回上一頁