#讀取exp6-1.py的所有內容 #r= read, t=text純文字檔 a1 = open('exp6-1.py','rt',encoding='utf-8') txt = a1.read() print(txt) a1.close()