To write text to a file, you need to call open() with a second argument " w " i.e. write mode telling Python that you want to write to the file.
確定! 回上一頁