... to a file in Python, use a with open() function. To write multiple lines to a file, use with open() and then the writelines() function.
確定! 回上一頁