txt', 'w') as file: # Use file to refer to the file object file.write('Hi there!') In the above code, you can observe that we have opened the ...
確定! 回上一頁