score=(uName, '=', uCoins)
try:
with open('saveScore.txt', 'rb') as file:
score=pickle.load(file)
except:
score==0
with open('saveScore.txt', 'wb') as file:
pickle.dump(score, file)
This is my code, I need help saving the score for each particular execution of the program without overwitting any previous saved scores. I cannot seem to get it to work.