write() accepts a string. writelines() accepts a list of strings: filename = '/Users/flavio/test.txt' ...
確定! 回上一頁