陳姿_HTML_CSS_Javascript_Java_Python

utf8 encoding編碼

練習程式碼

f = open("ascii.txt", "r+", encoding='utf8') x = f.read() print(x) f.write("\n陳姿穎") #寫入字串 f.close() #陳姿穎關閉檔案r+讀增加append print('f長度',len(x)) for i in x: #用迴圈印出每一個字元 print(i).

影片377

影片378

ascii art字元藝術

留言

熱門文章