python 常用的讀取檔案函式有三種read()、readline()、readlines(). 以讀取上述txt為例, ... with open("test.txt","w") as f: f.write("這是個測試!
確定! 回上一頁