0
獲取有關撇號語法錯誤在這行獲得一個語法錯誤,同時定義一個函數
def filecopy('example.txt','output.txt'): #<- Error here on the "'"
infile = open('example.txt',)
text = infile.read()
infile.close()
infile = open('output.txt')
outfile.write(text)
infile.close()
應該不是那些是可變名字呢? –