wally=pickle.load(open("The Wall.txt","rb"))
usernamey=pickle.load(open("username1.txt","rb"))
wu=("\n", wally, "\n", usernamey, "\n")
apost=input("Enter your post below: \n")
pwickle=pickle.dump(wu, apost, open("The Wall.txt","wb"))
不知道爲什麼,這是行不通的,出現錯誤消息:Python的類型錯誤:一個整數需要怪異
pwickle=pickle.dump(wu, apost, open("The Wall.txt","wb"))
TypeError: an integer is required
謝謝你們:) :) :) – user1743706