這裡,傳遞引數- string 是要寫入開啟檔案的內容。 範例 #!/usr/bin/python3 # Open a file fo = open("foo.txt", "w") fo.
確定! 回上一頁